Part Number Hot Search : 
1H104 A1020 BGHEB BFX59F F1405ZS AD584TH 1N5552US 1N5552US
Product Description
Full Text Search
 

To Download WM898509 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  w wm8985 multimedia codec with class d headphone and line out wolfson microelectronics plc to receive regular email updates, sign up at http://www.wolfsonmicro.com/enews production data, july 2009, rev 4.6 copyright ? 2009 wolfson microelectronics plc description the wm8985 is a low power, high quality, feature-rich stereo codec designed for portable multimedia applications that require low power consumption and high quality audio. the device integrates preamps for stereo differential mics, and includes class d and class ab drivers for headphone and differential or stereo line output. external component requirements are reduced as no separate microphone or headphone amplifiers are required. advanced dsp features include a 5-band equaliser, an alc/limiter for the microphone or line input through the adc and a digital playback limiter. additional digital filtering options are available in the adc path, to cater for application filtering such as ?wind noise reduction? and a programmable notch filter. highly flexible mixers enable many new application features, with the option to record and playback any combination of voice, line inputs and digital audio such as fm radio or mp3. the wm8985 digital audio interface can operate in master or slave mode, while an integrated pll provides flexible clocking schemes. the wm8985 operates at analogue supply voltages from 2.5v to 3.3v, although the digital core can operate at voltages down to 1.71v to save power. additional power management control enables individual sections of the chip to be powered down under software control. features stereo codec: ? dac snr 98db, thd -84db (?a? weighted @ 48khz) ? adc snr 92.5db, thd -83db (?a? weighted @ 48khz) ? headphone driver with ?capless? option - 40mw/channel output power into 16 / 3.3v avdd2 - class d headphone driver - class ab headphone / line driver - psrr 70db at 217hz ? stereo, mono or differential line output mic preamps: ? stereo differential or mono microphone interfaces ? programmable preamp gain ? pseudo differential inputs with common mode rejection ? programmable alc / noise gate in adc path ? low-noise bias supplied for electret microphones other features: ? enhanced 3-d function for improved stereo separation ? digital playback limiter ? 5-band equaliser (record or playback) ? programmable adc high pass filter (wind noise reduction) ? programmable adc notch filter ? aux inputs for stereo analog input signals or ?beep? ? pll supporting various clocks between 8mhz-50mhz ? sample rates supported (khz): 8, 11.025, 16, 12, 16, 22.05, 24, 32, 44.1, 48 ? low power, low voltage ? 2.5v to 3.6v analogue supplies ? 1.71v to 3.6v digital supplies ? 5x5mm 32-lead qfn package applications ? portable audio player / fm radio ? multimedia mobile handsets
wm8985 production data w pd, rev 4.6, july 2009 2 block diagram
production data wm8985 w pd, rev 4.6, july 2009 3 table of contents description ....................................................................................................... 1 features............................................................................................................. 1 applications ..................................................................................................... 1 block diagram ................................................................................................. 2 pin configuration ........................................................................................... 5 ordering information .................................................................................. 5 pin description ................................................................................................ 6 absolute maximum ratings ......................................................................... 7 recommended operating conditions ..................................................... 7 electrical characteristics ...................................................................... 8 terminology .......................................................................................................... 14 power consumption .................................................................................... 15 audio paths overview ................................................................................. 16 signal timing requirements ..................................................................... 17 system clock timing ........................................................................................... 17 audio interface timing ? master mode ........................................................ 17 audio interface timing ? slave mode ............................................................ 18 control interface timing ? 3-wire mode .................................................... 19 control interface timing ? 2-wire mode .................................................... 20 internal power on reset circuit .......................................................... 21 recommended power up/down sequence .................................................. 23 device description ....................................................................................... 27 introduction ......................................................................................................... 27 input signal path ................................................................................................. 28 analogue to digital converter (adc) .......................................................... 38 input limiter / automatic level control (alc) .......................................... 43 limiter mode ........................................................................................................... 46 output signal path ............................................................................................. 55 3d stereo enhancement .................................................................................... 62 analogue outputs ............................................................................................... 63 digital audio interfaces ................................................................................... 76 audio sample rates ............................................................................................. 81 master clock and phase locked loop (pll) ............................................... 81 companding ............................................................................................................ 83 general purpose input/output ...................................................................... 86 output switching (jack detect) ..................................................................... 87 control interface .............................................................................................. 88 resetting the chip .............................................................................................. 89 power supplies .................................................................................................... 89 power management ............................................................................................ 90 pop minimisation ................................................................................................... 91 register map ................................................................................................... 92 register bits by address ... .............................................................................. 94 digital filter characteristics ............................................................. 112 terminology ........................................................................................................ 112 dac filter responses ....................................................................................... 113 adc filter responses ....................................................................................... 113 highpass filter ................................................................................................... 114 5-band equaliser ................................................................................................ 115
wm8985 production data w pd, rev 4.6, july 2009 4 applications information ....................................................................... 119 recommended external components ........................................................ 119 package diagram ........................................................................................ 120 important notice ........................................................................................ 121 address: ................................................................................................................ 121
production data wm8985 w pd, rev 4.6, july 2009 5 pin configuration ordering information order code temperature range package moisture sensitivity level peak soldering temperature wm8985gefl -40 c to +85 c 32-lead qfn (5 x 5 mm) (pb-free) msl1 260 o c wm8985gefl/r -40 c to +85 c 32-lead qfn (5 x 5 mm) (pb-free, tape and reel) msl1 260 o c note: reel quantity = 3,500
wm8985 production data w pd, rev 4.6, july 2009 6 pin description pin name type description 1 lip analogue input left mic pre-amp positive input 2 lin analogue input left mic pre-amp negative input 3 l2/gpio2 analogue input left channel line input/secondary mic pre-amp positive input/gpio2 pin 4 rip analogue input right mic pre-amp positive input 5 rin analogue input right mic pre-amp negative input 6 r2/gpio3 analogue input right channel line input/secondary mic pre-amp positive input/gpio3 pin 7 lrc digital input / output dac and adc sample rate clock 8 bclk digital input / output digital audio bit clock 9 adcdat digital output adc digital audio data output 10 dacdat digital input dac digital audio data input 11 mclk digital input master clock input 12 dgnd supply digital ground 13 dcvdd supply digital core logic supply 14 dbvdd supply digital buffer (i/o) supply 15 csb/gpio1 digital input / output 3-wire control interface chip select / gpio1 pin 16 sclk digital input 3-wire control interface clock input / 2-wire control interface clock input 17 sdin digital input / output 3-wire control interface data input / 2-wire control interface data input 18 mode digital input control interface selection 19 auxl analogue input left auxiliary input 20 auxr analogue input right auxiliary input 21 out4 analogue output right line output / mono mix output 22 out3 analogue output left line output 23 rout2 analogue output class d or class ab headphone output right 24 agnd2 supply analogue ground (ground reference for rout2/lout2 and out3/out4) 25 lout2 analogue output class d or class ab headphone output left 26 avdd2 supply analogue supply (feeds output amplifiers rout2/lout2 and out3/out4) 27 vmid reference decoupling for adc and dac reference voltage 28 agnd1 supply analogue ground (ground reference for all input amplifiers, pll, adc and dac, internal bias circuits, output amplifiers lout1, rout1) 29 rout1 analogue output class ab headphone or line output right 30 lout1 analogue output class ab headphone or line output left 31 avdd1 supply analogue supply (feeds all input amplifiers, pll, adc and dac, internal bias circuits, output amplifiers lout1, lout2)) 32 micbias analogue output microphone bias note: it is recommended that the qfn ground paddle should be connected to analogue ground on the application pcb. refer to the application note wan_0118 on ?guidelines on how to use qfn packages and create associated pcb footprints?.
production data wm8985 w pd, rev 4.6, july 2009 7 absolute maximum ratings absolute maximum ratings are stress ratings only. permanent damage to the device may be caused by continuously operating at or beyond these limits. device functional operating limits and guaranteed performance specifications are given under electrical characteristics at the test conditions specified. esd sensitive device. this device is manufactured on a cmos process. it is therefore generically susceptible to damage from excessive static voltages. proper esd precautions must be taken during handling and storage of this device. wolfson tests its package types according to ipc/jedec j-std-020b for moisture sensitivity to determine acceptable storage conditions prior to surface mount assembly. these levels are: msl1 = unlimited floor life at <30 c / 85% relative humidity. not normally stored in moisture barrier bag. msl2 = out of bag storage for 1 year at <30 c / 60% relative humidity. supplied in moisture barrier bag. msl3 = out of bag storage for 168 hours at <30 c / 60% relative humidity. supplied in moisture barrier bag. the moisture sensitivity level for each package type is specified in ordering information. condition min max dbvdd, dcvdd, avdd1, avdd2 supply voltages -0.3v +4.5v voltage range digital inputs dgnd -0.3v dbvdd +0.3v voltage range analogue inputs agnd1 -0.3v avdd1 +0.3v operating temperature range -40c +85c storage temperature prior to soldering 30 c max / 85% rh max storage temperature after soldering -65 c +150 c notes: 1. analogue and digital grounds must always be within 0.3v of each other. 2. all digital and analogue supplies are internally independent (i.e. not connected). 3. analogue supply voltages avdd1 and avdd2 should be greater than or equal to the dcvdd digital supply voltage. 4. dbvdd must be greater than or equal to dcvdd. recommended operating conditions parameter symbol test conditions min typ max unit digital supply range (core) dcvdd 1.71 1,2 3.6 v digital supply range (buffer) dbvdd 1.71 2 3.6 v analogue supply range avdd1, avdd2 2.5 1 3.6 v ground dgnd, agnd1, agnd2 0 v notes: 1. analogue supply voltages should not be less than digital supply voltages. 2. dbvdd must be greater than or equal to dcvdd.
wm8985 production data w pd, rev 4.6, july 2009 8 electrical characteristics test conditions dcvdd=1.8v, avdd1=avdd2=dbvdd=3.3v, t a = +25 o c, 1khz signal, fs = 48khz, 24-bit audio data unless otherwise stated. parameter symbol test conditions min typ max unit microphone input pga inputs (lip, lin, rip, rin, l2, r2) inppgavoll, inppgavolr, pgaboostl and pgaboostr = 0db full-scale input signal level ? single-ended input via lin/rin 1 avdd/3.3 v rms full-scale input signal level ? pseudo-differential input 1,2 avdd*0.7/ 3.3 v rms input pga equivalent input noise inppgavoll/r = +35.25db no input signal 0 to 20khz 150 v lin, rin input resistance inppgavoll and inppgavolr = +35.25db 1.6 k lin, rin input resistance inppgavoll and inppgavolr = 0db 46 k lin, rin input resistance inppgavoll and inppgavolr = -12db 71 k lip, rip input resistance all gain settings 90 k l2, r2 input resistance l2_2inppga and r2_2inppga = 1 l2_2boostvol and r2_2boostvol = 000 90 k l2, r2 input resistance l2_2inppga and r2_2inppga = 0 l2_2boostvol and r2_2boostvol = +6db 11 k l2, r2 input resistance l2_2inppga and r2_2inppga = 0 l2_2boostvol and r2_2boostvol = 0db 22 k l2, r2 input resistance l2_2inppga and r2_2inppga = 0 l2_2boostvol and r2_2boostvol = -12db 60 k input capacitance all analogue input pins 10 pf maximum input pga programmable gain gain adjusted by inppgavoll and inppgavoll +35.25 db minimum input pga programmable gain gain adjusted by inppgavoll and inppgavoll -12 db programmable gain step size guaranteed monotonic 0.75 db input pga mute attenuation inppgamutel and inppgamuter = 1 100 db input gain boost pgaboostl and pgaboostr = 0 0 db input gain boost pgaboostl and pgaboostr = 1 +20 db
production data wm8985 w pd, rev 4.6, july 2009 9 test conditions dcvdd=1.8v, avdd1=avdd2=dbvdd=3.3v, t a = +25 o c, 1khz signal, fs = 48khz, 24-bit audio data unless otherwise stated. parameter symbol test conditions min typ max unit auxiliary analogue inputs (auxl, auxr) full-scale input signal level 2 avdd/3.3 v rms input resistance left input boost and mixer enabled, at +6db 11 k left input boost and mixer enabled, at 0db gain 22 k left input boost and mixer enabled, at -12db gain 60 k right input boost, mixer enabled, at +6db gain 11 k right input boost, mixer enabled, at 0db gain 22 k right input boost, mixer enabled, at -12db gain 60 k input capacitance all analogue inputs 10 pf maximum gain from auxl and auxr input to left and right input pga mixers gain adjusted by auxl2boostvol and auxr2boostvol +6 db minimum gain from auxl and auxr input to left and right input pga mixers gain adjusted by auxl2boostvol and auxr2boostvol -12 db auxlboostvol and auxrboostvol step size guaranteed monotonic 3 db l2, r2 line input programmable gain maximum gain from l2/r2 input to left and right input pga mixers gain adjusted by l2_2boostvol and r2_2boostvol +6 db minimum gain from l2/r2 input to left and right input pga mixers gain adjusted by l2_2boostvol and r2_2boostvol -12 db l2/r2_2boostvol step size guaranteed monotonic 3 db l2/r2_2boostvol mute attenuation 100 db out4 to left or right input boost record path maximum gain into left and right input pga mixers gain adjusted by out4_2adcvol +12 db minimum gain into left and right input pga mixers gain adjusted by out4_2adcvol -6 db out4_2adcvol gain step size guaranteed monotonic 3 db out4_2adcvol mute attenuation 100 db analogue to digital converter (adc) - input from lin/p an d rin/p in differential configuration to input pga inppgavoll, inppgavolr, pgaboostl, pgaboostr, adclvol and adcrvol = 0db signal to noise ratio 3 snr a-weighted avdd1=avdd2=3.3v 92.5 db a-weighted avdd1=avdd2=2.5v 91.5 db 22hz to 20khz avdd1=avdd2=3.3v 90 db 22hz to 20khz avdd1=avdd2=2.5v 90 db
wm8985 production data w pd, rev 4.6, july 2009 10 test conditions dcvdd=1.8v, avdd1=avdd2=dbvdd=3.3v, t a = +25 o c, 1khz signal, fs = 48khz, 24-bit audio data unless otherwise stated. parameter symbol test conditions min typ max unit total harmonic distortion 4 thd -7dbv input avdd1=avdd2=3.3v -75 -70 db -7dbv input avdd1=avdd2=2.5v -75 db total harmonic distortion + noise 5 thd+n -7dbv input avdd1=avdd2=3.3v -72 -68 db -7dbv input avdd1=avdd2=2.5v -72 db channel separation 6 1khz full scale input signal 100 db analogue to digital converter (adc) - input from l2, r2 into left and right pga mixer. inppgavoll, inppgavolr, l2_2boostvol, r2_2boostvol, adclvol and adcrvol = 0db signal to noise ratio 3 snr a-weighted avdd1=avdd2=3.3v 85 92.5 db a-weighted avdd1=avdd2=2.5v 92.5 db 22hz to 20khz avdd1=avdd2=3.3v 90 db 22hz to 20khz avdd1=avdd2=2.5v 90 db total harmonic distortion 4 thd -1dbv input avdd1=avdd2=3.3v -83 -78 db -1dbv input avdd1=avdd2=2.5v -66 db total harmonic distortion + noise 5 thd+n -1dbv input avdd1=avdd2=3.3v -81 -70 db -1dbv input avdd1=avdd2=2.5v -65 db channel separation 6 1khz input signal 100 db dac to left and right mixers into 10k / 50pf load on lout1 and rout1 lout1vol, rout1vol, daclvol and dacrvol = 0db full-scale output 1 lout1vol and routvol = 0db avdd1/3.3 v rms signal to noise ratio 3 snr a-weighted avdd1=avdd2=3.3v 92 98 db a-weighted avdd1=avdd2=2.5v 96 db 22hz to 20khz avdd1=avdd2=3.3v 95.5 db 22hz to 20khz avdd1=avdd2=2.5v 93.5 db total harmonic distortion 4 thd 0dbfs input avdd1=avdd2=3.3v -84 -80 dbfs 0dbfs input avdd1=avdd2=2.5v -84 dbfs total harmonic distortion + noise 5 thd+n 0dbfs input avdd1=avdd2=3.3v -82 -78 dbfs 0dbfs input avdd1=avdd2=2.5v -82 dbfs channel separation 6 1khz signal 100 db
production data wm8985 w pd, rev 4.6, july 2009 11 test conditions dcvdd=1.8v, avdd1=avdd2=dbvdd=3.3v, t a = +25 o c, 1khz signal, fs = 48khz, 24-bit audio data unless otherwise stated. parameter symbol test conditions min typ max unit dac to l/r mixer into 10k / 50pf load on l/rout2, class ab mode lout2vol, rout2vol, daclvol and dacrvol = 0db full-scale output 1 lout2vol and rout2vol = 0db avdd1/3.3 v rms signal to noise ratio 3 snr a-weighted avdd1=avdd2=3.3v 100 db a-weighted avdd1=avdd2=2.5v 96 db 22hz to 20khz avdd1=avdd2=3.3v 95.5 db 22hz to 20khz avdd1=avdd2=2.5v 93.5 db total harmonic distortion 4 thd 0dbfs input avdd1=avdd2=3.3v -84 dbfs 0dbfs input avdd1=avdd2=2.5v -82 dbfs total harmonic distortion + noise 5 thd+n 0dbfs input avdd1=avdd2=3.3v -82 dbfs 0dbfs input avdd1=avdd2=2.5v -80 dbfs channel separation 6 1khz input signal 100 db dac to out3 and out4 mixers into out3/out4 outputs into (10k / 50pf load. dacvoll and dacvolr = 0db) full-scale output voltage avdd2/3.3 v rms signal to noise ratio 3 snr a-weighted avdd1=avdd2=3.3v 98 db total harmonic distortion 4 thd full-scale signal avdd1=avdd2=3.3v -84 dbfs total harmonic distortion + noise 5 thd+n full-scale signal avdd1=avdd2=3.3v -82 dbfs channel separation 6 1khz signal 100 db dac to left and right mixer into headphone 16 ? load on lout1 and rout1 lout1vol, rout1vol, daclvol and dacrvol = 0db full-scale output avdd1/3.3 v rms signal to noise ratio 3 snr a-weighted avdd1=avdd2=3.3v 100 db 22hz to 20khz avdd1=avdd2=3.3v 95.5 db total harmonic distortion 4 thd p o = 20mw, rl=16 ? -79 db total harmonic distortion + noise 5 thd+n po = 20mw, rl=16 ? -75 db channel separation 6 1khz signal 100 db
wm8985 production data w pd, rev 4.6, july 2009 12 test conditions dcvdd=1.8v, avdd1=avdd2=dbvdd=3.3v, t a = +25 o c, 1khz signal, fs = 48khz, 24-bit audio data unless otherwise stated. parameter symbol test conditions min typ max unit dac to left and right mixer into headphone 16 ? load on lout2 and rout2, class ab mode lout2vol, rout2vol, daclvol and dacrvol = 0db full-scale output avdd1/3.3 v rms signal to noise ratio 3 snr a-weighted avdd1=avdd2=3.3v 90 97 db 22hz to 20khz avdd1=avdd2=3.3v 95.5 db total harmonic distortion 4 thd p o = 20mw, rl=16 ? -80 -75 db total harmonic distortion + noise 5 thd+n po = 20mw, rl=16 ? -77 -70 db channel separation 6 1khz signal 100 db dac to left and right mixer into headphone 16 ? load on lout2 and rout2, class d mode, l filter = 33uh c filter = 220nf lout2vol, rout2vol, daclvol and dacrvol = 0db full-scale output avdd1/3.3 v rms signal to noise ratio 3 snr a-weighted avdd1=avdd2=3.3v 90 97 db total harmonic distortion 4 thd p o = 20mw, rl=16 ? -79 -75 db channel separation 6 1khz signal 100 db pwm rise time 1.5 ns pwm fall time 1.5 ns pwm switching frequency dclkdiv = 1000 1.4 mhz efficiency r l = 16 ? , t pw = 20ns, p o = 20mw 72 % power supply rejection psrr 100mv pp ripple @217hz injected on avdd2 70 db idle current no analogue output signal on either channel 0.5 ma bypass paths to left and right output mixers. bypl2lmix = 1 and bypr2rmix = 1 maximum pga gain into mixer gain adjusted by byplmixvol and byprmixvol +6 db minimum pga gain into mixer gain adjusted by byplmixvol and byprmixvol -15 db byplmixvol and byprmixvol gain step into mixer guaranteed monotonic 3 db mute attenuation bypl2lmix = 0 bypr2rmix = 0 100 db analogue outputs (lout1, rout1, lout2, rout2) maximum programmable gain gain adjusted by l/rout1vol and l/rout2vol +6 db minimum programmable gain gain adjusted by l/rout1vol and l/rout2vol -57 db programmable gain step size guaranteed monotonic 1 db mute attenuation 1khz, full scale signal l/rout1mute = 1 l/rout2mute = 1 85 db
production data wm8985 w pd, rev 4.6, july 2009 13 test conditions dcvdd=1.8v, avdd1=avdd2=dbvdd=3.3v, t a = +25 o c, 1khz signal, fs = 48khz, 24-bit audio data unless otherwise stated. parameter symbol test conditions min typ max unit lin and rin input pga to input boost stage into 10k / 50pf load on out3/out4 outputs inppgavoll, inppgavolr, pgaboostl and pgaboostr = 0db full-scale output voltage, 0db gain avdd2/3.3 v rms signal to noise ratio 3 snr a-weighted avdd1=avdd2=3.3v 90 98 db a-weighted avdd1=avdd2=2.5v 96 db 22hz to 22khz avdd1=avdd2=3.3v 95.5 db 22hz to 22khz avdd1=avdd2=2.5v 93.5 db total harmonic distortion 4 thd full-scale signal avdd1=avdd2=3.3v -84 dbfs full-scale signal avdd1=avdd2=2.5v -82 dbfs total harmonic distortion + noise 5 thd+n full-scale signal avdd1=avdd2=3.3v -82 dbfs full-scale signal avdd1=avdd2=2.5v -80 dbfs channel separation 6 100 db lin and rin into input pga bypass to lout1 and rout1 into 16 / 50pf loads byplmixvol, byprmixvol, lout1vol and rout1vol = 0db full-scale output voltage, 0db gain avdd1/3.3 v rms signal to noise ratio 3 snr a-weighted avdd1=avdd2=3.3v 90 100 db a-weighted avdd1=avdd2=2.5v 96 db 22hz to 22khz avdd1=avdd2=3.3v 95.5 db 22hz to 22khz avdd1=avdd2=2.5v 93.5 db total harmonic distortion 4 thd full-scale signal avdd1=avdd2=3.3v -87 -75 dbfs full-scale signal avdd1=avdd2=2.5v -69 dbfs total harmonic distortion + noise 5 thd+n full-scale signal avdd1=avdd2=3.3v -85 -73 dbfs full-scale signal avdd1=avdd2=2.5v -68 dbfs channel separation 6 1khz full scale signal 100 db microphone bias bias voltage mbvsel=0 0.9*avdd1 v mbvsel=1 0.65*avdd1 v bias current source for v micbias within +/-3% 3 ma output noise voltage 1khz to 20khz 15 nv/ hz
wm8985 production data w pd, rev 4.6, july 2009 14 test conditions dcvdd=1.8v, avdd1=avdd2=dbvdd=3.3v, t a = +25 o c, 1khz signal, fs = 48khz, 24-bit audio data unless otherwise stated. parameter symbol test conditions min typ max unit digital input / output input high level v ih 0.7 dbv dd v input low level v il 0.3 dbvdd v output high level v oh i ol =1ma 0.9 dbv dd v output low level v ol i oh -1m a 0.1xdbvdd v input capacitance all digital pins 10 pf input leakage 50 pa terminology 1. full-scale input and output levels scale in relation to avdd1 or avdd2 depending upon the input or output used. for example, when avdd1 = 3.3v, 0dbfs = 1v rms (0dbv). when avdd < 3.3v the absolute level of 0dbfs will decrease with a linear relationship to avdd. 2. input level to rip and lip in differential configurations is limited to a maximum of -3db or performance will be reduced. 3. signal-to-noise ratio (dbfs) ? snr is the difference in level between a reference full scale output signal and the device output with no signal applied. this ratio is also called idle channel noise. (no auto-zero or automute function is employed in achieving these results). 4. total harmonic distortion (db) ? thd is the difference in level between a reference output signal and the first seven harmonics of the output signal. to calculate the ratio, the fundamental frequency of the output signal is notched out and an rms value of the next seven harmonics is calculated. 5. total harmonic distortion plus noise (db) ? thd+n is the difference in level between a reference output signal and the sum of the harmonics, wide-band noise and interference on the output signal. to calculate the ratio, the fundamental frequency of the output signal is notched out and an rms value of the total harmonics, wide-band noise and interference is calculated. 6. channel separation (db) ? also known as cross-talk. this is a measure of the amount one channel is isolated from the other. normally measured by sending a full scale signal down one channel and measuring the other.
production data wm8985 w pd, rev 4.6, july 2009 15 power consumption typical power consumption for various scenarios is shown below. all measurements are made with quiescent signal. description dcvdd(v) dcvdd(ma) dbvdd(v) dbvdd(ma) avdd1(v) avdd1(ma) avdd2(v) avdd2(ma) total (mw) off (default settings) 1.8 0.0002 1.8 0 2.5 0.01 2.5 0 0.03 1.8 0.0002 3.3 0 3 0.011 3 0 0.03 1.8 0.0002 3.3 0 3.3 0.012 3.3 0 0.04 3.3 0.006 3.3 0 3.3 0.011 3.3 0 0.06 3.6 0.008 3.6 0 3.6 0.012 3.6 0 0.07 standby mode (lowest power) 1.8 0.002 1.8 0 2.5 0.117 2.5 0 0.30 1.8 0.002 3.3 0 3 0.138 3 0 0.42 1.8 0.002 3.3 0 3.3 0.149 3.3 0 0.50 3.3 0.006 3.3 0 3.3 0.149 3.3 0 0.51 3.6 0.008 3.6 0 3.6 0.157 3.6 0 0.59 dac playback 32 ? load 1.8 3.336 1.8 0.003 2.5 2.238 2.5 0.28 12.31 l/rout2 - class ab mode 1.8 3.336 3.3 0.0021 3 2.728 3 0.35 15.24 fs=44.1khz 3.3 7.182 3.3 0.0021 3.3 3.025 3.3 0.39 34.98 3.6 8.098 3.6 0.025 3.6 3.325 3.6 0.44 42.80 adc stereo line record 1.8 3.57 1.8 0.013 2.5 4.76 2.5 0 18.35 fs=44.1khz 1.8 3.57 3.3 0.013 2.7 4.967 3 0 19.88 3.3 7.603 3.3 0.026 3 5.272 3.3 0 40.99 3.6 8.529 3.6 0.027 3.3 5.578 3.6 0 49.21 table 1 power consumption contact wolfson for more information on device power consumption.
wm8985 production data w pd, rev 4.6, july 2009 16 audio paths overview figure 1 audio paths overview
production data wm8985 w pd, rev 4.6, july 2009 17 signal timing requirements system clock timing mclk t mclkl t mclkh t mclky figure 2 system clock timing requirements test conditions dcvdd=1.8v, dbvdd=avdd1=avdd2=3.3v, dgnd=agnd1=agnd2=0v, t a = +25 o c, slave mode parameter symbol conditions min typ max unit system clock timing information mclk cycle time t mclky mclk=sysclk (=256fs) 81.38 ns mclk input to pll note 1 20 ns mclk duty cycle t mclkds 60:40 40:60 note: 1. pll pre-scaling and pll n and k values should be set appropriately so that sysclk is no greater t han 12.288mhz. audio interface timing ? master mode figure 3 digital audio data timing ? master mode (see control interface)
wm8985 production data w pd, rev 4.6, july 2009 18 test conditions dcvdd=1.8v, dbvdd=avdd1=avdd2=3.3v, dgnd=agnd1=agnd2=0v, t a =+25 o c, master mode, fs=48khz, mclk=256fs, 24-bit data, unless otherwise stated. parameter symbol min typ max unit audio data input timing information lrc propagation delay from bclk falling edge t dl 10 ns adcdat propagation delay from bclk falling edge t dda 15 ns dacdat setup time to bclk rising edge t dst 10 ns dacdat hold time from bclk rising edge t dht 10 ns audio interface timing ? slave mode figure 4 digital audio data timing ? slave mode test conditions dcvdd=1.8v, dbvdd=avdd1=avdd2=3.3v, dgnd=agnd1=agnd2=0v, t a =+25 o c, slave mode, fs=48khz, mclk= 256fs, 24-bit data, unless otherwise stated. parameter symbol min typ max unit audio data input timing information bclk cycle time t bcy 50 ns bclk pulse width high t bch 20 ns bclk pulse width low t bcl 20 ns lrc set-up time to bclk rising edge t lrsu 10 ns lrc hold time from bclk rising edge t lrh 10 ns dacdat hold time from bclk rising edge t dh 10 ns dacdat set-up time to bclk rising edge t ds 10 ns adcdat propagation delay from bclk falling edge t dd 15 ns note: bclk period should always be greater than or equal to mclk period.
production data wm8985 w pd, rev 4.6, july 2009 19 control interface timing ? 3-wire mode 3-wire mode is selected by connecting the mode pin high. figure 5 control interface timing ? 3-wire serial control mode test conditions dcvdd = 1.8v, dbvdd = avdd1 = avdd2 = 3.3v, dgnd = agnd1 = agnd2 = 0v, t a =+25 o c, slave mode, fs=48khz, mclk = 256fs, 24-bit data, unless otherwise stated. parameter symbol min typ max unit program register input information sclk rising edge to csb rising edge t scs 80 ns sclk pulse cycle time t scy 200 ns sclk pulse width low t scl 80 ns sclk pulse width high t sch 80 ns sdin to sclk set-up time t dsu 40 ns sclk to sdin hold time t dho 40 ns csb pulse width low t csl 40 ns csb pulse width high t csh 40 ns csb rising to sclk rising t css 40 ns pulse width of spikes that will be suppressed t ps 0 5 ns
wm8985 production data w pd, rev 4.6, july 2009 20 control interface timing ? 2-wire mode 2-wire mode is selected by connecting the mode pin low. sdin sclk t 3 t 1 t 6 t 2 t 7 t 5 t 4 t 3 t 8 t 9 figure 6 control interface timing ? 2-wire serial control mode test conditions dcvdd=1.8v, dbvdd=avdd1=avdd2=3.3v, dgnd=agnd1=agnd2=0v, t a =+25 o c, slave mode, fs=48khz, mclk = 256fs, 24-bit data, unless otherwise stated. parameter symbol min typ max unit program register input information sclk frequency 0 526 khz sclk low pulse-width t 1 1.3 us sclk high pulse-width t 2 600 ns hold time (start condition) t 3 600 ns setup time (start condition) t 4 600 ns data setup time t 5 100 ns sdin, sclk rise time t 6 300 ns sdin, sclk fall time t 7 300 ns setup time (stop condition) t 8 600 ns data hold time t 9 900 ns pulse width of spikes that will be suppressed t ps 0 5 ns
production data wm8985 w pd, rev 4.6, july 2009 21 internal power on reset circuit figure 7 internal power on reset circuit schematic the wm8985 includes an internal power-on-reset circuit, as shown in figure 7, which is used to reset the digital logic into a default state after power up. the por circuit is powered from avdd1 and monitors dcvdd. it asserts porb low if avdd1 or dcvdd is below a minimum threshold. figure 8 typical power up sequence where avdd1 is powered before dcvdd figure 8 shows a typical power-up sequence where avdd1 comes up first. when avdd1 goes above the minimum threshold, v pora , there is enough voltage for the circuit to guarantee porb is asserted low and the chip is held in reset. in this condition, all writes to the control interface are ignored. now avdd1 is at full supply level. next dcvdd rises to v pord_on and porb is released high and all registers are in their default state and writes to the control interface may take place. on power down, where avdd1 falls first, porb is asserted low whenever avdd1 drops below the minimum threshold v pora_off .
wm8985 production data w pd, rev 4.6, july 2009 22 figure 9 typical power up sequence where dcvdd is powered before avdd1 figure 9 shows a typical power-up sequence where dcvdd comes up first. first it is assumed that dcvdd is already up to specified operating voltage. when avdd1 goes above the minimum threshold, v pora , there is enough voltage for the circuit to guarantee porb is asserted low and the chip is held in reset. in this condition, all writes to the control interface are ignored. when avdd1 rises to v pora_on , porb is released high and all registers are in their default state and writes to the control interface may take place. on power down, where dcvdd falls first, porb is asserted low whenever dcvdd drops below the minimum threshold v pord_off . symbol min typ max unit v pora 0.4 0.6 0.8 v v pora_on 0.9 1.2 1.6 v v pora_off 0.4 0.6 0.8 v v pord_on 0.5 0.7 0.9 v v pord_off 0.4 0.6 0.8 v table 2 typical por operation (typical simulated values) notes: 1. if avdd1 and dcvdd suffer a brown-out (i.e. drop below the minimum recommended operating level but do not go below v pora_off or v pord_off ) then the chip will not reset and will resume normal operation when the voltage is back to the recommended level again. 2. the chip will enter reset at power down when avdd1 or dcvdd falls below v pora_off or v pord_off . this may be important if the supply is turned on and off frequently by a power management system. 3. the minimum t por period is maintained even if dcvdd and avdd1 have zero rise time. this specification is guaranteed by design rather than test.
production data wm8985 w pd, rev 4.6, july 2009 23 recommended power up/down sequence in order to minimise output pop and click noise, it is recommended that the wm8985 device is powered up and down under control using the following sequences: power up: 1. turn on external power supplies. wait for supply voltage to settle. 2. set low analogue bias mode, biascut = 1 3. enable thermal shutdown tsden = tsopctrl = 1 4. enable internal bias biasen = 1. 5. mute all outputs and set pgas to minimum gain, r52 to r57 = 0x140h. 6. enable vmid independent current bias, pobctrl = 1. 7. enable required outputs, dacs and mixers. 8. enable vmid with required charge time e.g. vmidsel=01. 9. wait 500ms 1 10. setup digital interface, input amplifiers, pll, adcs and dacs for desired operation. 11. disable vmid independent current bias, pobctrl = 0. 12. unmute l/rout1 and set desired volume, e.g. for 0db r52 and r53 = 0x139h. 13. unmute l/rout2 and set desired volume, e.g. for 0db r54 and r55 = 0x139h. power down 2 : 1. disable thermal shutdown, tsden = tsopctrl = 0 2. disable vmidsel=00 and biasen=0 3. wait for vmid to discharge 3 4. power off registers r1, r2, r3 = 0x000h 5. remove external power supplies notes: 1. charging time constant is determined by impedance selected by vmidsel and the value of decoupling capacitor connected to vmid pin. 2. it is possible to interrupt the power down sequence and power up to vmid before the allocated vmid discharge time. this is done by following the power-up sequence omitting steps 4 to 8. 3. discharge time constant is determined by the values of analogue output capacitors.
wm8985 production data w pd, rev 4.6, july 2009 24 figure 10 adc power up and down sequence (not to scale) symbol min typical max unit t midrail_on 300 ms t midrail_off >6 s t adcint 2/fs n /fs adc group delay 29/fs n /fs table 3 typical por operation (typical simulated values)
production data wm8985 w pd, rev 4.6, july 2009 25 notes: 1. the analogue input pin charge time, t midrail_on, is determined by the vmid pin charge time. this time is dependent upon the value of vmid decoupling capacitor and vmid pin input resistance and avdd1 power supply rise time. 2. the analogue input pin discharge time, t midrail_off, is determined by the analogue input coupling capacitor discharge time. the time, t midrail_off , is measured using a 1 f capacitor on the analogue input but will vary dependent upon the value of input coupling capacitor. 3. while the adc is enabled there will be lsb data bit activity on the adcdat pin due to system noise but no significant digital output will be present. 4. the vmidsel and bi asen bits must be set to enable analogue input midrail voltage and for normal adc operation. 5. adcdat data output delay from power up - with power supplies starting from 0v - is determined primarily by the vmid charge time. adc initialisation and power management bits may be set immediately after por is released; vmid charge time will be significantly longer and will dictate when the device is stabilised for analogue input. 6. adcdat data output delay at power up from device standby (power supplies already applied) is determined by adc initialisation time, 2/fs. figure 11 dac power up and down sequence (not to scale)
wm8985 production data w pd, rev 4.6, july 2009 26 symbol min typical max unit t line_midrail_on 300 ms t line_midrail_off >6 s t hp_midrail_on 300 ms t hp__midrail_off >6 s t dacint 2/fs n /fs dac group delay 29/fs n /fs table 4 typical por operation (typical simulated values) notes: 1. the lineout charge time, t line_midrail_on, is determined by the vmid pin charge time. this time is dependent upon the value of vmid decoupling capacitor and vmid pin input resistance and avdd1 power supply rise time. the values above were measured using a 4.7 f capacitor. 2. it is not advisable to allow dacdat data input during initialisation of the dac. if the dac data value is not zero at point of initialisation, then this is likely to cause a pop noise on the analogue outputs. the same is also true if the dacdat is removed at a non-zero value, and no mute function has been applied to the signal beforehand. 3. the lineout discharge time, t line_midrail_off, is determined by the vmid pin discharge time. this time is dependent upon the value of vmid decoupling capacitor and vmid pin input resistance. the values above were measured using a 4.7 f capacitor. 4. the headphone charge time, t hp_midrail_on, is dependent upon the value of vmid decoupling capacitor and vmid pin input resistance and avdd1 power supply rise time. the values above were measured using a 4.7 f vmid decoupling capacitor. 5. the headphone discharge time, t hp_midrail_off, is dependent upon the value of vmid decoupling capacitor and vmid pin input resistance. the values above were measured using a 4.7 f vmid decoupling capacitor. 6. the vmidsel and biasen bits must be set to enable analogue output midrail voltage and for normal dac operation.
production data wm8985 w pd, rev 4.6, july 2009 27 device description introduction the wm8985 is a low power audio codec combining a high quality stereo audio dac and adc, with flexible line and microphone input and output processing. features the chip offers great flexibility in use, and so can support many different modes of operation as follows: microphone inputs two pairs of stereo microphone inputs are provided, allowing a pair of stereo microphones to be pseudo-differentially connected, with user defined gain. the provision of the common mode input pin for each stereo input allows for rejection of common mode noise on the microphone inputs (level depends on gain setting chosen). a microphone bias is output from the chip which can be used to bias both microphones. the signal routing can be configured to allow manual adjustment of mic levels, or to allow the alc loop to control the level of mic signal that is transmitted. total gain through the microphone paths of up to +55.25db can be selected. pga and alc operation a programmable gain amplifier is provided in the input path to the adc. this may be used manually or in conjunction with a mixed analogue/digital automatic level control (alc) which keeps the recording volume constant. auxiliary analog line inputs (auxl, auxr) the inputs, auxl and auxr, can be used as a stereo line input or as an input for warning tones (or ?beeps?) etc. these inputs can be summed into the record paths, along with the microphone preamp outputs, so allowing for mixing of audio with ?backing music? etc as required. additional stereo analog signals might be connected to the line inputs of wm8985 (e.g. melody chip or fm radio), and the stereo signal listened to via headphones, or recorded, simultaneously if required. adc the stereo adc uses a 24-bit high-order over sampling architecture to deliver optimum performance with low power consumption. hi-fi dac the hi-fi dac provides high quality audio playback suitable for all portable audio hi-fi type applications, including mp3 players and portable disc players of all types. output mixers flexible mixing is provided on the outputs of the device. a stereo mixer is provided for the stereo headphone or line outputs, lout1/rout1, and additional summers on the out3/out4 outputs allow for an optional differential or stereo line output on these pins. gain adjustment pgas are provided for the lout1/rout1 and lout2/rout2 outputs, and signal switching is provided to allow for all possible signal combinations.
wm8985 production data w pd, rev 4.6, july 2009 28 out3 and out4 can be configured to provide an additional stereo or mono differential lineout from the output of the dacs, the mixers or the input microphone boost stages. they can also provide a midrail reference for pseudo differential inputs to external amplifiers. audio interfaces the wm8985 has a standard audio interface, to support the transmission of stereo data to and from the chip. this interface is a 3 wire standard audio interface which supports a number of audio data formats including: ? i 2 s ? dsp/pcm mode (a burst mode in which lrc sync plus 2 data packed words are transmitted) ? msb-first, left justified ? msb-first, right justified the interface can operate in master or slave modes. control interfaces to allow full software control over all features, the wm8985 offers a choice of 2 or 3 wire control interface. it is fully compatible and an ideal partner for a wide range of industry standard microprocessors, controllers and dsps. selection of the mode is via the mode pin. in 2 wire mode, the address of the device is fixed as 0011010. clocking schemes wm8985 offers the normal audio dac clocking scheme operation, where 256fs mclk is provided to the dac and adc. a flexible clock divider allows the 256fs dac clock to be generated from a range of input clock frequencies, for example, 256fs, 384fs, 512fs and 768fs. a pll is included which may be used to generate these clocks in the event that they are not available from the system controller. this pll can accept a range of common input clock frequencies between 8mhz and 50mhz to generate high quality audio clocks. if this pll is not required for generation of these clocks, it can be reconfigured to generate alternative clocks which may then be output on the gpio1 pin and used elsewhere in the system; available in 2-wire control mode only. power control the design of the wm8985 has given much attention to power consumption without compromising performance. the wm8985 operates at low analog and digital supply voltages, and includes the ability to power off any unused parts of the circuitry under software control. it also includes standby and power off modes. input signal path the wm8985 has a number of flexible analogue inputs. there are two input channels, left and right, each of which consists of an input pga stage followed by a boost/mix stage which drives into the hi-fi adc. each input path has three input pins which can be configured in a variety of ways to accommodate single-ended, pseudo-differential or dual differential microphones. there are two auxiliary input pins which can be fed into to the input boost/mix stage as well as driving into the output path. a bypass path exists from the output of the boost/mix stage into the output left/right mixers. microphone inputs the wm8985 can accommodate a variety of microphone configurations including single ended and pseudo-differential inputs. the inputs to the left differential input pga are lin, lip and l2. the inputs to the right differential input pga are rin, rip and r2. in single-ended microphone input configuration the microphone signal should be input to lin or rin and the non-inverting input of the input pga clamped to vmid.
production data wm8985 w pd, rev 4.6, july 2009 29 figure 12 microphone input pga circuit the input pgas are enabled by the inppgaenl and inppgaenr register bits. register address bit label default description r2 (02h) power management 2 2 inppgaenl 0 left channel input pga enable 0 = disabled 1 = enabled 3 inppgaenr 0 right channel input pga enable 0 = disabled 1 = enabled table 5 input pga enable register settings
wm8985 production data w pd, rev 4.6, july 2009 30 register address bit label default description r44 (2ch) input control 0 lip2inppga 1 connect lip pin to left channel input pga amplifier positive terminal. 0 = lip not connected to input pga 1 = input pga amplifier positive terminal connected to lip (constant input impedance) 1 lin2inppga 1 connect lin pin to left channel input pga negative terminal. 0 = lin not connected to input pga 1 = lin connected to input pga amplifier negative terminal. 2 l2_2inppga 0 connect l2 pin to left channel input pga positive terminal. 0 = l2 not connected to input pga 1 = l2 connected to input pga amplifier positive terminal (constant input impedance). 4 rip2inppga 1 connect rip pin to right channel input pga amplifier positive terminal. 0 = rip not connected to input pga 1 = right channel input pga amplifier positive terminal connected to rip (constant input impedance) 5 rin2inppga 1 connect rin pin to right channel input pga negative terminal. 0 = rin not connected to input pga 1 = rin connected to right channel input pga amplifier negative terminal. 6 r2_2inppga 0 connect r2 pin to right channel input pga positive terminal. 0 = r2 not connected to input pga 1 = r2 connected to input pga amplifier positive terminal (constant input impedance). table 6 input pga control input pga volume controls the input microphone pgas have a gain range from -12db to +35.25db in 0.75db steps. the gain from the lin/rin input to the pga output and from the l2/r2 amplifier to the pga output are always common and controlled by the register bits inppgavoll[5:0] and inppgabvolr[5:0]. these register bits also affect the lip pin when lip2inppga=1, the l2 pin when l2_2inppga=1, the rip pin when rip2inppga=1 and the l2 pin when l2_2inppga=1. when the automatic level control (alc) is enabled the input pga gains are controlled automatically and the inppgavoll and inppgavolr bits should not be used.
production data wm8985 w pd, rev 4.6, july 2009 31 register address bit label default description r45 (20h) left channel input pga volume control 5:0 inppgavoll 010000 (0db) left channel input pga volume 000000 = -12db 000001 = -11.25db . 010000 = 0db . 111111 = +35.25db 6 inppgamutel 0 mute control for left channel input pga: 0 = input pga not muted, normal operation 1 = input pga muted (and disconnected from the following input boost stage). 7 inppgazcl 0 left channel input pga zero cross enable: 0 = update gain when gain register changes 1 = update gain on 1 st zero cross after gain register write. 8 inppgavu not latched inppga left and inppga right volume do not update until a 1 is written to inppgavu (in reg 45 or 46) (see "volume updates" below) r46 (2eh) right channel input pga volume control 5:0 inppgavolr 010000 (0db) right channel input pga volume 000000 = -12db 000001 = -11.25db . 010000 = 0db . 111111 = +35.25db 6 inppgamuter 0 mute control for right channel input pga: 0 = input pga not muted, normal operation 1 = input pga muted (and disconnected from the following input boost stage). 7 inppgazcr 0 right channel input pga zero cross enable: 0 = update gain when gain register changes 1 = update gain on 1 st zero cross after gain register write. 8 inppgavu not latched inppga left and inppga right volume do not update until a 1 is written to inppgavu (in reg 45 or 46) (see "volume updates" below) r32 (20h) alc control 1 8:7 alcsel 00 alc function select: 00 = alc off 01 = alc right only 10 = alc left only 11 = alc both on table 7 input pga volume control
wm8985 production data w pd, rev 4.6, july 2009 32 volume updates volume settings will not be applied to the pgas until a '1' is written to one of the inppgavu bits. this is to allow left and right channels to be updated at the same time, as shown in figure 13. figure 13 simultaneous left and right volume updates if the volume is adjusted while the signal is a non-zero value, an audible click can occur as shown in figure 14. figure 14 click noise during volume update in order to prevent this click noise, a zero cross function is provided. when enabled, this will cause the pga volume to update only when a zero crossing occurs, minimising click noise as shown in figure 15.
production data wm8985 w pd, rev 4.6, july 2009 33 figure 15 volume update using zero cross detection if there is a long period where no zero-crossing occurs, a timeout circuit in the wm8985 will automatically update the volume. the volume updates will occur between one and two timeout periods, depending on when the inppgavu bit is set as shown in figure 16. figure 16 volume update after timeout
wm8985 production data w pd, rev 4.6, july 2009 34 auxilliary inputs there are two auxiliary inputs, auxl and auxr which can be used for a variety of purposes such as stereo line inputs or as a ?beep? input signal to be mixed with the outputs. the auxl/r inputs can be used as a line input to the input boost stage which has adjustable gain of -12db to +6db in 3db steps, with an additional "off" state (i.e. not connected to adc input). see the input boost section for further details. the auxl/r inputs can also be mixed into the output channel mixers, with a gain of -15db to +6db plus off. input boost each of the stereo input pga stages is followed by an input boost circuit. the input boost circuit has 3 selectable inputs: the input microphone pga output, the aux amplifier output and the l2/r2 input pin (can be used as a line input, bypassing the input pga). these three inputs can be mixed together and have individual gain boost/adjust as shown in figure 17. figure 17 input boost stage
production data wm8985 w pd, rev 4.6, july 2009 35 the input pga paths can have a +20db boost (pgaboostl/r=1), a 0db pass through (pgaboostl/r=0) or be completely isolated from the input boost circuit (inppgamutel/r=1). register address bit label default description r47 (2fh) left input boost control 8 pgaboostl 1 boost enable for left channel input pga: 0 = pga output has +0db gain through input boost stage. 1 = pga output has +20db gain through input boost stage. r48 (30h) right input boost control 8 pgaboostr 1 boost enable for right channel input pga: 0 = pga output has +0db gain through input boost stage. 1 = pga output has +20db gain through input boost stage. table 8 input boost stage control the auxiliary amplifier path to the boost stages is controlled by the auxl2boostvol[2:0] and auxr2boostvol[2:0] register bits. when auxl2boostvol/auxr2boostvol=000 this path is completely disconnected from the boost stage. settings 001 through to 111 control the gain in 3db steps from -12db to +6db. the l2/r2 path to the boost stage is controlled by the lip2boostvol[2:0] and the rip2boostvol[2:0] register bits. when l2_2boostvol[6:4] and r2_2boostvol[6:4]=000 the l2/r2 input pin is completely disconnected from the boost stage. settings 001 through to 111 control the gain in 3db steps from -12db to +6db.
wm8985 production data w pd, rev 4.6, july 2009 36 register address bit label default description r42 (2ah) out4 to adc 8:6 out4_2adcvol 000 controls the out4 to adc i nput boost stage: 000 = path disabled (disconnected) 001 = -12db gain 010 = -9db gain 011 = -6db gain 100 = -3db gain 101 = +0db gain 110 = +3db gain 111 = +6db gain 5 out4_2lnr 0 out4 to l or r adc i nput 0 = right adc input 1 = left adc input r47 (2fh) left channel input boost control 2:0 auxl2boostvol 000 controls the auxiliary amplifier to the left channel input boost stage: 000 = path disabled (disconnected) 001 = -12db gain 010 = -9db gain 011 = -6db gain 100 = -3db gain 101 = +0db gain 110 = +3db gain 111 = +6db gain 6:4 l2_2boostvol 000 controls the l2 pin to the left channel input boost stage: 000 = path disabled (disconnected) 001 = -12db gain 010 = -9db gain 011 = -6db gain 100 = -3db gain 101 = +0db gain 110 = +3db gain 111 = +6db gain r48 (30h) right channel input boost control 2:0 auxr2boostvol 000 controls the auxiliary amplifier to the right channel input boost stage: 000 = path disabled (disconnected) 001 = -12db gain 010 = -9db gain 011 = -6db gain 100 = -3db gain 101 = +0db gain 110 = +3db gain 111 = +6db gain
production data wm8985 w pd, rev 4.6, july 2009 37 register address bit label default description 6:4 r2_2boostvol 000 controls the r2 pin to the right channel input boost stage: 000 = path disabled (disconnected) 001 = -12db 010 = -9db gain 011 = -6db gain 100 = -3db gain 101 = +0db gain 110 = +3db gain 111 = +6db gain table 9 input boost stage control the boost stage is enabled under control of the boosten register bit. register address bit label default description r2 (02h) power management 2 4 boostenl 0 left channel input boost enable 0 = boost stage off 1 = boost stage on 5 boostenr 0 right channel input boost enable 0 = boost stage off 1 = boost stage on table 10 input boost enable control microphone biasing circuit the micbias output provides a low noise reference voltage suitable for biasing electret type microphones and the associated external resistor biasing network. refer to the applications information section for recommended external components. the micbias voltage can be altered via the mbvsel register bit. w hen mbvsel=0, micbias=0.9*avdd1 and when m bvsel=1, micbias=0.65*avdd1. the output can be enabled or disabled using the micben control bit. register address bit label default description r1 (01h) power management 1 4 micben 0 microphone bias enable 0 = off (high impedance output) 1 = on table 11 microphone bias enable control register address bit label default description r44 (2ch) input control 8 mbvsel 0 microphone bias voltage control 0 = 0.9 * avdd1 1 = 0.65 * avdd1 table 12 microphone bias voltage control the internal micbias circuitry is shown in figure 18. note that the maximum source current capability for micbias is 3ma. the external biasing resistors therefore must be large enough to limit the micbias current to 3ma.
wm8985 production data w pd, rev 4.6, july 2009 38 figure 18 microphone bias schematic analogue to digital converter (adc) the wm8985 uses stereo multi-bit, oversampled sigma-delta adcs. the use of multi-bit feedback and high oversampling rates reduces the effects of jitter and high frequency noise. the adc full scale input level is proportional to avdd1. with a 3.3v supply voltage, the full scale level is 1.0v rms . any voltage greater than full scale may overload the adc and cause distortion. adc digital filters the adc filters perform true 24 bit signal processing to convert the raw multi-bit oversampled data from the adc to the correct sampling frequency to be output on the digital audio interface. the digital filter path for each adc channel is illustrated in figure 19. figure 19 adc digital filter path the adcs are enabled by the adcenl/r register bit. register address bit label default description r2 (02h) power management 2 0 adcenl 0 enable adc left channel: 0 = adc disabled 1 = adc enabled 1 adcenr 0 enable adc right channel: 0 = adc disabled 1 = adc enabled table 13 adc enable control
production data wm8985 w pd, rev 4.6, july 2009 39 the polarity of the output signal can also be changed under software control using the adclpol/adcrpol register bit. the oversampling rate of the adc can be adjusted using the adcosr128 register bit. with adcosr=0 the oversample rate is 64x which gives lowest power operation and when adcosr=1 the oversample rate is 128x which gives best performance. register address bit label default description r14 (0eh) adc control 0 adclpol 0 adc left channel polarity adjust: 0 = normal 1 = inverted 1 adcrpol 0 adc right channel polarity adjust: 0 = normal 1 = inverted 3 adcosr128 0 adc oversample rate select: 0 = 64x (lower power) 1 = 128x (best performance) table 14 adc control selectable high pass filter a selectable high pass filter is provided and enabled as default. to disable this filter set hpfen=0. the filter has two modes controlled by hpfapp. in audio mode (hpfapp=0) the filter is first order, with a cut-off frequency of 3.7hz. in application mode (hpfapp=1) the filter is second order, with a cut-off frequency selectable via the hpfcut register. the cut-off frequencies when hpfapp=1 are shown in table 16. register address bit label default description r14 (0eh) adc control 6:4 hpfcut 000 application mode cut-off frequency see table 16 for details. pll output clock division ratio 00 = divide by 1 01 = divide by 2 10 = divide by 3 11 = divide by 4 note: hpcut and opclkdiv cannot be set independently 7 hpfapp 0 select audio mode or application mode 0 = audio mode (1 st order, fc = ~3.7hz) 1 = application mode (2 nd order, fc = hpfcut) 8 hpfen 1 high pass filter enable 0 = disabled 1 = enabled table 15 adc enable control
wm8985 production data w pd, rev 4.6, july 2009 40 hpfcut [2:0] sr=101/100 sr=011/010 sr=001/000 fs (khz) 8 11.025 12 16 22.05 24 32 44.1 48 000 82 113 122 82 113 122 82 113 122 001 102 141 153 102 141 153 102 141 153 010 131 180 196 131 180 196 131 180 196 011 163 225 245 163 225 245 163 225 245 100 204 281 306 204 281 306 204 281 306 101 261 360 392 261 360 392 261 360 392 110 327 450 490 327 450 490 327 450 490 111 408 563 612 408 563 612 408 563 612 table 16 high pass filter cut-off frequencies (hpfapp=1) note that the high pass filter values (when hpfapp=1) are calculated on the assumption that the sr register bits are set correctly for the actual sample rate as shown in table 16. sampling rate (sr) is enabled by register bits r7[1:3]. register 14(0eh) bits [5:4] (hpfcut) are used to control the high pass filter cut-off in applications mode and also the pll output clock division ratio (opclkdiv).
production data wm8985 w pd, rev 4.6, july 2009 41 programmable notch filter a programmable notch filter is provided. this filter has a variable centre frequency and bandwidth, programmable via two coefficients, a0 and a1. these coefficients should be converted to 2?s complement numbers to determine the register values. a0 and a1 are represented by the register bits nfa0[13:0] and nfa1[13:0]. because these coefficient values require four register writes to setup there is an nfu (notch filter update) flag which should be set only when all four registers are setup. register address bit label default description r27 (1bh) notch filter 1 6:0 nfa0[13:7] 0 notch filter a0 coefficient, bits [13:7] 7 nfen 0 notch filter enable: 0 = disabled 1 = enabled 8 nfu 0 notch filter update. the notch filter values used internally only update when one of the nfu bits is set high. r28 (1ch) notch filter 2 6:0 nfa0[6:0] 0 notch filter a0 coefficient, bits [6:0] 8 nfu 0 notch filter update. the notch filter values used internally only update when one of the nfu bits is set high. r29 (1dh) notch filter 3 6:0 nfa1[13:7] 0 notch filter a1 coefficient, bits [13:7] 8 nfu 0 notch filter update. the notch filter values used internally only update when one of the nfu bits is set high. r30 (1eh) notch filter 4 0-6 nfa1[6:0] 0 notch filter a1 coefficient, bits [6:0] 8 nfu 0 notch filter update. the notch filter values used internally only update when one of the nfu bits is set high. table 17 notch filter function the coefficients are calculated as follows: ) 2 / w tan( 1 ) 2 / w tan( 1 a b b 0 + ? = ) w cos( ) a 1 ( a 0 0 1 + ? = where: s c 0 f / f 2 w = s b b f / f 2 w = f c = centre frequency in hz, f b = -3db bandwidth in hz, f s = sample frequency in hz the coefficients are calculated as follows: nfa0 = -a0 x 2 13 nfa1 = -a1 x 2 12 these values are then converted to 2?s complement notation to determine the register values.
wm8985 production data w pd, rev 4.6, july 2009 42 notch filter worked example the following example illustrates how to calculate the a0 and a1 coefficients for a desired centre frequency and -3db bandwidth. fc = 1000 hz fb = 100 hz fs = 48000 hz s c 0 f / f 2 w = = 2 x (1000 / 48000) = 0.1308996939 rads s b b f / f 2 w = = 2 x (100 / 48000) = 0.01308996939 rads ) 2 / w tan( 1 ) 2 / w tan( 1 a b b 0 + ? = = ) 2 / 9 0130899693 . 0 tan( 1 ) 2 / 9 0130899693 . 0 tan( 1 + ? = 0.9869949627 ) w cos( ) a 1 ( a 0 0 1 + ? = = ) 1308996939 . 0 cos( ) 9869949627 . 0 1 ( + ? = -1.969995945 nfa0 = -a0 x 2 13 = -8085 (rounded to nearest whole number) nfa1 = -a1 x 2 12 = 8069 (rounded to nearest whole number) these values are then converted to 2?s complement: nfa0 = 14?h206b = 14?b10000001101011 nfa1 = 14?h1f85 = 14?b 01111110000101 digital adc volume control the output of the adcs can be digitally attenuated over a range from ?127db to 0db in 0.5db steps. the gain for a given eight-bit code x is given by: 0.5 (g-255) db for 1 g 255; mute for g = 0 register address bit label default description r15 (0fh) left channel adc digital volume 7:0 adclvol [7:0] 11111111 ( 0db ) left adc digital volume control 0000 0000 = digital mute 0000 0001 = -127db 0000 0010 = -126.5db ? 0.5db steps up to 1111 1111 = 0db 8 adcvu not latched adc left and adc right volume do not update until a 1 is written to adcvu (in reg 15 or 16) r16 (10h) right channel adc digital volume 7:0 adcrvol [7:0] 11111111 ( 0db ) right adc digital volume control 0000 0000 = digital mute 0000 0001 = -127db 0000 0010 = -126.5db ... 0.5db steps up to 1111 1111 = 0db 8 adcvu not latched adc left and adc right volume do not update until a 1 is written to adcvu (in reg 15 or 16) table 18 adc digital volume control
production data wm8985 w pd, rev 4.6, july 2009 43 input limiter / automatic level control (alc) the wm8985 has an automatic pga gain control circuit, which can function as an input peak limiter or as an automatic level control (alc). the automatic level control (alc) provides continuous adjustment of the input pga in response to the amplitude of the input signal. a digital peak detector monitors the input signal amplitude and compares it to a register defined threshold level (alclvl). if the signal is below the threshold, the alc will increase the gain of the pga at a rate set by alcdcy. if the signal is above the threshold, the alc will reduce the gain of the pga at a rate set by alcatk. the alc has two modes selected by the alcmode register: normal mode and peak limiter mode. the alc/limiter function is enabled by settings the register bits r32[8:7] alcsel. register address bit label default description r32 (20h) alc control 1 2:0 alcmin [2:0] 000 (-12db) set minimum gain of pga 000 = -12db 001 = -6db 010 = 0db 011 = +6db 100 = +12db 101 = +18db 110 = +24db 111 = +30db 5:3 alcmax [2:0] 111 (+35.25db) set maximum gain of pga 111 = +35.25db 110 = +29.25db 101 = +23.25db 100 = +17.25db 011 = +11.25db 010 = +5.25db 001 = -0.75db 000 = -6.75db 8:7 alcsel 00 alc function select 00 = alc disabled 01 = right channel alc enabled 10 = left channel alc enabled 11 = both channels alc enabled r33 (21h) alc control 2 3:0 alclvl [3:0] 1011 (-6db) alc target ? sets signal level at adc input 1111 = -1.5dbfs 1110 = -1.5dbfs 1101 = -3dbfs 1100 = -4.5dbfs 1011 = -6dbfs 1010 = -7.5dbfs 1001 = -9dbfs 1000 = -10.5dbfs 0111 = -12dbfs 0110 = -13.5dbfs 0101 = -15dbfs 0100 = -16.5dbfs 0011 = -18dbfs 0010 = -19.5dbfs 0001 = -21dbfs 0000 = -22.5dbfs 7:4 alchld 0000 alc hold time before gain is
wm8985 production data w pd, rev 4.6, july 2009 44 register address bit label default description [3:0] (0ms) increased. 0000 = 0ms 0001 = 2.67ms 0010 = 5.33ms 0011 = 10.66ms 0100 = 21.32ms 0101 = 42.64ms 0110 = 85.28ms 0111 = 0.17s 1000 = 0.34s 1001 = 0.68s 1010 or higher = 1.36s r34 (22h) alc control 3 8 alcmode 0 determines the alc mode of operation: 0 = alc mode (normal operation) 1 = limiter mode. 7:4 alcdcy [3:0] 0011 (13ms/6db) decay (gain ramp-up) time (alcmode ==0) per step per 6db 90% of range 0000 410us 3.3ms 24ms 0001 820us 6.6ms 48ms 0010 1.64ms 13.1ms 192ms ? (time doubles with every step) 1010 or higher 420ms 3.36s 24.576s 0011 (2.9ms/6db) decay (gain ramp-up) time (alcmode ==1) per step per 6db 90% of range 0000 90.8us 726.4us 5.26ms 0001 181.6us 1. 453ms 10.53 ms 0010 363.2us 2. 905ms 21.06 ms ? (time doubles with every step) 1010 93ms 744ms 5.39s 3:0 alcatk [3:0] 0010 (832us/6db) alc attack (gain ramp-down) time (alcmode == 0) per step per 6db 90% of range 0000 104us 832us 6ms 0001 208us 1.66ms 12ms 0010 416us 3.32ms 24.1ms ? (time doubles with every step) 1010 or higher 106ms 852ms 6.18s 0010 (182us/6db) alc attack (gain ramp-down) time (alcmode == 1) per step per 6db 90% of range 0000 22.7us 182.4us 1.31ms 0001 45.4us 363.2us 2.62ms 0010 90.8us 726.4us 5.26ms
production data wm8985 w pd, rev 4.6, july 2009 45 register address bit label default description ? (time doubles with every step) 1010 23.2ms 186ms 1.348s table 20 alc control registers when the alc is disabled, the input pga remains at the last controlled value of the alc. an input gain update must be made by writing to the inppgavoll/r register bits. normal mode in normal mode, the alc will attempt to maintain a constant signal level by increasing or decreasing the gain of the pga. the following diagram shows an example of this. figure 21 alc normal mode operation
wm8985 production data w pd, rev 4.6, july 2009 46 limiter mode in limiter mode, the alc will reduce peaks that go above the threshold level, but will not increase the pga gain beyond the starting level. the starting level is the pga gain setting when the alc is enabled in limiter mode. if the alc is started in limiter mode, this is the gain setting of the pga at startup. if the alc is switched into limiter mode after running in alc mode, the starting gain will be the gain at switchover. the diagram below shows an example of limiter mode. figure 20 alc limiter mode operation attack and decay times the attack and decay times set the update times for the pga gain. the attack time is the time constant used when the gain is reducing. the decay time is the time constant used when the gain is increasing. in limiter mode, the time constants are faster than in alc mode. the time constants are shown below in terms of a single gain step, a change of 6db and a change of 90% of the pgas gain range. note that, these times will vary slightly depending on the sample rate used (specified by the sr register).
production data wm8985 w pd, rev 4.6, july 2009 47 normal mode alcmode = 0 (normal mode) alcatk t atk t atk6db t atk90% 0000 104 s 832 s6ms 0001 208 s 1.66ms 12ms 0010 416 s 3.33ms 24ms 0011 832 s 6.66ms 48ms 0100 1.66ms 13.3ms 96ms 0101 3.33ms 26.6ms 192ms 0110 6.66ms 53.2ms 384ms 0111 13.3ms 106ms 767ms 1000 26.6ms 213.2ms 1.53s 1001 53.2ms 426ms 3.07s 1010 106ms 852ms 6.13s attack time (s) alcmode = 0 (normal mode) alcdcy t dcy t dcy6db t dcy90% 0000 410 s 3.28ms 23.6ms 0001 820 s 6.56ms 47.2ms 0010 1.64ms 13.1ms 94.5ms 0011 3.28ms 26.2ms 189ms 0100 6.56ms 52.5ms 378ms 0101 13.1ms 105ms 756ms 0110 26.2ms 210ms 1.51s 0111 52.5ms 420ms 3.02s 1000 105ms 840ms 6.05s 1001 210ms 1.68s 12.1s 1010 420ms 3.36s 24.2s decay time (s) table 19 alc normal mode (attack and decay times)
wm8985 production data w pd, rev 4.6, july 2009 48 limiter mode alcmode = 1 (limiter mode) alcatk t atklim t atklim6db t atklim90% 0000 22.7 s 182 s1.31ms 0001 45.4 s 363 s2.62ms 0010 90.8 s 726 s5.23ms 0011 182 s 1.45ms 10.5ms 0100 363 s 2.91ms 20.9ms 0101 726 s 5.81ms 41.8ms 0110 1.45ms 11.6ms 83.7ms 0111 2.9ms 23.2ms 167ms 1000 5.81ms 46.5ms 335ms 1001 11.6ms 93ms 669ms 1010 23.2ms 186ms 1.34s attack time (s) alcmode = 1 (limiter mode) alcdcy t dcylim t dcylim6db t dcylim90% 0000 90.8 s 726 s5.23ms 0001 182 s 1.45ms 10.5ms 0010 363 s 2.91ms 20.9ms 0011 726 s 5.81ms 41.8ms 0100 1.45ms 11.6ms 83.7ms 0101 2.91ms 23.2ms 167ms 0110 5.81ms 46.5ms 335ms 0111 11.6ms 93ms 669ms 1000 23.2ms 186ms 1.34s 1001 46.5ms 372ms 2.68s 1010 93ms 744ms 5.36s attack time (s) table 20 alc limiter mode (attack and decay times)
production data wm8985 w pd, rev 4.6, july 2009 49 minimum and maximum gain the alcmin and alcmax register bits set the minimum/maximum gain value that the pga can be set to whilst under the control of the alc. this has no effect on the pga when alc is not enabled. register address bit label default description r32 alc control 1 5:3 alcmax 111 set maximum gain of pga 2:0 alcmin 000 set minimum gain of pga table 23 alc max/min gain in normal mode, alcmax sets the maximum boost which can be applied to the signal. in limiter mode, alcmax will normally have no effect (assuming the starting gain value is less than the maximum gain specified by alcmax) because the maximum gain is set at the starting gain level. alcmin sets the minimum gain value which can be applied to the signal. figure 23 alc min/max gain alcmax maximum gain (db) 111 35.25 110 29.25 101 23.25 100 17.25 011 11.25 010 5.25 001 -0.75 000 -6.75 table 24 alc max gain values
wm8985 production data w pd, rev 4.6, july 2009 50 alcmin minimum gain (db) 000 -12 001 -6 010 0 011 6 100 12 101 18 110 24 111 30 table 25 alc min gain values note that if the alc gain setting strays outside the alc operating range, either by starting the alc outside of the range or changing the alcmax or alcmin settings during operation, the alc will immediately adjust the gain to return to the alc operating range. it is recommended that the alc starting gain is set between the alcmax and alcmin limits. alc hold time (normal mode only) in normal mode, the alc has an adjustable hold time which sets a time delay before the alc begins it?s decay phase (gain increasing). the hold time is set by the alchld register. register address bit label default description r33 alc control 2 7:4 alchld 0000 alc hold time before gain is increased. table 26 alc hold time if the hold time is exceeded this indicates that the signal has reached a new average level and the alc will increase the gain to adjust for that new average level. if the signal goes above the threshold during the hold period, the hold phase is abandoned and the alc returns to normal operation.
production data wm8985 w pd, rev 4.6, july 2009 51 figure 24 alclvl
wm8985 production data w pd, rev 4.6, july 2009 52 figure 25 alc hold time alchld t hold (s) 0000 0 0001 2.67ms 0010 5.34ms 0011 10.7ms 0100 21.4ms 0101 42.7ms 0110 85.4ms 0111 171ms 1000 342ms 1001 684ms 1010 1.37s table 27 alc hold time values
production data wm8985 w pd, rev 4.6, july 2009 53 peak limiter to prevent clipping when a large signal occurs just after a period of quiet, the alc circuit includes a limiter function. if the adc input signal exceeds 87.5% of full scale (?1.16db), the pga gain is ramped down at the maximum attack rate (as when alcatk = 0000), until the signal level falls below 87.5% of full scale. this function is automatically enabled whenever the alc is enabled. note: if alcatk = 0000, then the limiter makes no difference to the operation of the alc. it is designed to prevent clipping when long attack times are used. noise gate (normal mode only) when the signal is very quiet and consists mainly of noise, the alc function may cause ?noise pumping?, i.e. loud hissing noise during silence periods. the wm8985 has a noise gate function that prevents noise pumping by comparing the signal level at the input pins against a noise gate threshold, ngth. the noise gate cuts in when: signal level at adc [dbfs] < ngth [dbfs] + pga gain [db] + mic boost gain [db] this is equivalent to: signal level at input pin [dbfs] < ngth [dbfs] the pga gain is then held constant (preventing it from ramping up as it normally would when the signal is quiet). the table below summarises the noise gate control register. the ngth control bits set the noise gate threshold with respect to the adc full-scale range. the threshold is adjusted in 6db steps. levels at the extremes of the range may cause inappropriate operation, so care should be taken with set?up of the function. the noise gate only operates in conjunction with the alc and cannot be used in limiter mode. register address bit label default description r35 (23h) alc noise gate control 2:0 ngth 000 noise gate threshold: 000 = -39db 001 = -45db 010 = -51db 011 = -57db 100 = -63db 101 = -70db 110 = -76db 111 = -81db 3 ngaten 0 noise gate function enable 1 = enable 0 = disable table 28 alc noise gate control the diagrams below show the response of the system to the same signal with and without noise gate.
wm8985 production data w pd, rev 4.6, july 2009 54 figure 21 alc operation above noise gate threshold
production data wm8985 w pd, rev 4.6, july 2009 55 figure 22 noise gate operation output signal path the wm8985 output signal paths consist of digital application filters, up-sampling filters, stereo hi-fi dacs, analogue mixers, stereo headphone and stereo line/mono/midrail output drivers. the digital filters and dac are enabled by register bits dacenl and dacenr. the mixers and output drivers can be separately enabled by individual control bits (see analogue outputs). thus it is possible to utilise the analogue mixing and amplification provided by the wm8985, irrespective of whether the dacs are running or not. the wm8985 dacs receive digital input data on the dacdat pin. the digital filter block processes the data to provide the following functions: ? digital volume control ? graphic equaliser ? a digital peak limiter ? sigma-delta modulation high performance sigma-delta audio dac converts the digital data into an analogue signal.
wm8985 production data w pd, rev 4.6, july 2009 56 figure 23 dac digital filter path the analogue outputs from the dacs can then be mixed with the aux analogue inputs and the adc analogue inputs. the mix is fed to the output drivers for headphone (lout1/rout1, lout2/rout2) or line (out3/out4). out3 and out4 have additional mixers which allow them to output different signals to the line outputs or back into the record path. digital playback (dac) path digital data is passed to the wm8985 via the flexible audio interface and is then passed through a variety of advanced digital filters as shown in figure 23 to the hi-fi dacs. the dacs are enabled by the dacenl/r register bits. register address bit label default description r3 (03h) power management 3 0 dacenl 0 left channel dac enable 0 = dac disabled 1 = dac enabled 1 dacenr 0 right channel dac enable 0 = dac disabled 1 = dac enabled table 21 dac enable control the wm8985 also has a soft mute function, which when enabled, gradually attenuates the volume of the digital signal to zero. when disabled, the gain will ramp back up to the digital gain setting. this function is enabled by default. to play back an audio signal, it must first be disabled by setting the softmute bit to zero. register address bit label default description r10 (0ah) dac control 0 dacpol 0 left dac output polarity: 0 = non-inverted 1 = inverted (180 degrees phase shift) 1 dacrpol 0 right dac output polarity: 0 = non-inverted 1 = inverted (180 degrees phase shift) 2 amute 0 automute enable 0 = amute disabled 1 = amute enabled 3 dacosr128 0 dac oversampling rate: 0 = 64x (lowest power) 1 = 128x (best performance) 6 softmute 0 softmute enable: 0 = enabled 1 = disabled table 22 dac control register
production data wm8985 w pd, rev 4.6, july 2009 57 the digital audio data is converted to oversampled bit streams in the on-chip, true 24-bit digital interpolation filters. the bitstream data enters the multi-bit, sigma-delta dacs, which convert it to a high quality analogue audio signal. the multi-bit dac architecture reduces high frequency noise and sensitivity to clock jitter. it also uses a dynamic element matching technique for high linearity and low distortion. the dac output phase defaults to non-inverted. setting daclpol will invert the dac output phase on the left channel and dacrpol inverts the phase on the right channel. auto-mute the dac has an auto-mute function which applies an analogue mute when 1024 consecutive zeros are detected. the mute is released as soon as a non-zero sample is detected. auto-mute can be disabled using the amute control bit. digital hi-fi dac volume (gain) control the signal volume from each hi-fi dac can be controlled digitally. the gain range is ?127db to 0db in 0.5db steps. the level of attenuation for an eight-bit code x is given by: 0.5 (x-255) db for 1 x 255; mute for x = 0 register address bit label default description r11 (0bh) left dac digital volume 7:0 daclvol [7:0] 11111111 ( 0db ) left dac digital volume control 0000 0000 = digital mute 0000 0001 = -127db 0000 0010 = -126.5db ... 0.5db steps up to 1111 1111 = 0db 8 dacvu not latched dac left and dac right volume do not update until a 1 is written to dacvu (in reg 11 or 12) r12 (0ch) right dac digital volume 7:0 dacrvol [7:0] 11111111 ( 0db ) right dac digital volume control 0000 0000 = digital mute 0000 0001 = -127db 0000 0010 = -126.5db ... 0.5db steps up to 1111 1111 = 0db 8 dacvu not latched dac left and dac right volume do not update until a 1 is written to dacvu (in reg 11 or 12) table 23 dac digital volume control note: an additional gain of up to 12db can be added using the gain block embedded in the digital peak limiter circuit (see dac output limiter section). 5-band equaliser a 5-band graphic equaliser function which can be used to change the output frequency levels to suit the environment. this can be applied to the adc or dac path and is described in the 5-band equaliser section for further details on this feature. 3-d enhancement the wm8985 has an advanced digital 3-d enhancement feature which can be used to vary the perceived stereo separation of the left and right channels. like the 5-band equaliser this feature can be applied to either the adc record path or the dac playback path but not both simultaneously. refer to the 3-d stereo enhancement section for further details on this feature. dac digital output limiter the wm8985 has a digital output limiter function. the operation of this is shown in figure 24. in this diagram the upper graph shows the envelope of the input/output signals and the lower graph shows the gain characteristic.
wm8985 production data w pd, rev 4.6, july 2009 58 figure 24 dac digital limiter operation the limiter has a programmable upper threshold which is close to 0db. referring to figure 24, in normal operation (limboost=000 => limit only) signals below this threshold are unaffected by the limiter. signals above the upper threshold are attenuated at a specific attack rate (set by the limatk register bits) until the signal falls below the threshold. the limiter also has a lower threshold 1db below the upper threshold. when the signal falls below the lower threshold the signal is amplified at a specific decay rate (controlled by limdcy register bits) until a gain of 0db is reached. both threshold levels are controlled by the limlvl register bits. the upper threshold is 0.5db above the value programmed by limlvl and the lower threshold is 0.5db below the limlvl value. volume boost the limiter has programmable upper gain which boosts signals below the threshold to compress the dynamic range of the signal and increase its perceived loudness. this operates as an alc function with limited boost capability. the volume boost is from 0db to +12db in 1db steps, controlled by the limboost register bits. the output limiter volume boost can also be used as a stand alone digital gain boost when the limiter is disabled.
production data wm8985 w pd, rev 4.6, july 2009 59 register address bit label default description r24 (18h) dac digital limiter control 1 3:0 limatk 0010 limiter attack time (per 6db gain change) for 44.1khz sampling. note that these are proportionally related to sample rate. 0000 = 94us 0001 = 188s 0010 = 375us 0011 = 750us 0100 = 1.5ms 0101 = 3ms 0110 = 6ms 0111 = 12ms 1000 = 24ms 1001 = 48ms 1010 = 96ms 1011 to 1111 = 192ms 7:4 limdcy 0011 limiter decay time (per 6db gain change) for 44.1khz sampling. note that these are proportionally related to sample rate: 0000 = 750us 0001 = 1.5ms 0010 = 3ms 0011 = 6ms 0100 = 12ms 0101 = 24ms 0110 = 48ms 0111 = 96ms 1000 = 192ms 1001 = 384ms 1010 = 768ms 1011 to 1111 = 1.536s 8 limen 0 enable the dac digital limiter: 0=disabled 1=enabled r25 (19h) dac digital limiter control 2 3:0 limboost 0000 limiter volume boost (can be used as a stand alone volume boost when limen=0): 0000 = 0db 0001 = +1db 0010 = +2db 0011 = +3db 0100 = +4db 0101 = +5db 0110 = +6db 0111 = +7db 1000 = +8db 1001 = +9db 1010 = +10db 1011 = +11db 1100 = +12db 1101 to 1111 = reserved
wm8985 production data w pd, rev 4.6, july 2009 60 register address bit label default description 6:4 limlvl 000 programmable signal threshold level (determines level at which the limiter starts to operate) 000 = -1db 001 = -2db 010 = -3db 011 = -4db 100 = -5db 101 to 111 = -6db table 24 dac digital limiter control 5-band graphic equaliser a 5-band graphic equaliser is provided, which can be applied to the adc or dac path, together with 3d enhancement, under control of the eq3dmode register bit. register address bit label default description r18 (12h) eq control 1 8 eq3dmode 1 0 = equaliser and 3d enhancement applied to adc path 1 = equaliser and 3d enhancement applied to dac path table 25 eq and 3d enhancement dac or adc path select note: the adcs and dacs must be disabled before changing the eq3dmode bit. the equaliser consists of low and high frequency shelving filters (band 1 and 5) and three peak filters for the centre bands. each has adjustable cut-off or centre frequency, and selectable boost (+/- 12db in 1db steps). the peak filters have selectable bandwidth. to enable the use of the 5-band equaliser the device must be in 128fs mode by setting m128enb to 1 in register r7 bit 8. refer to the low power section under power management below for more details. register address bit label default description r18 (12h) eq band 1 control 4:0 eq1g 01100 (0db) band 1 gain control. see table 31 for details. 6:5 eq1c 01 band 1 cut-off frequency: 00 = 80hz 01 = 105hz 10 = 135hz 11 = 175hz table 26 eq band 1 control
production data wm8985 w pd, rev 4.6, july 2009 61 register address bit label default description r19 (13h) eq band 2 control 4:0 eq2g 01100 (0db) band 2 gain control. see table 31 for details. 6:5 eq2c 01 band 2 centre frequency: 00 = 230hz 01 = 300hz 10 = 385hz 11 = 500hz 8 eq2bw 0 band 2 bandwidth control 0 = narrow bandwidth 1 = wide bandwidth table 27 eq band 2 control register address bit label default description r20 (14h) eq band 3 control 4:0 eq3g 01100 (0db) band 3 gain control. see table 31 for details. 6:5 eq3c 01 band 3 centre frequency: 00 = 650hz 01 = 850hz 10 = 1.1khz 11 = 1.4khz 8 eq3bw 0 band 3 bandwidth control 0 = narrow bandwidth 1 = wide bandwidth table 28 eq band 3 control register address bit label default description r21 (15h) eq band 4 control 4:0 eq4g 01100 (0db) band 4 gain control. see table 31 for details 6:5 eq4c 01 band 4 centre frequency: 00 = 1.8khz 01 = 2.4khz 10 = 3.2khz 11 = 4.1khz 8 eq4bw 0 band 4 bandwidth control 0 = narrow bandwidth 1 = wide bandwidth table 29 eq band 4 control
wm8985 production data w pd, rev 4.6, july 2009 62 register address bit label default description r22 (16h) eq band 5 gain control 4:0 eq5g 01100 (0db) band 5 gain control. see table 31 for details. 6:5 eq5c 01 band 5 cut-off frequency: 00 = 5.3khz 01 = 6.9khz 10 = 9khz 11 = 11.7khz table 30 eq band 5 control gain register gain 00000 +12db 00001 +11db 00010 +10db ?. (1db steps) 01100 0db 01101 -1db 11000 -12db 11001 to 11111 reserved table 31 gain register table see also figure 47 to figure 64 for equaliser and high pass filter responses. 3d stereo enhancement the wm8985 has a digital 3d enhancement option to increase the perceived separation between the left and right channels. selection of 3d for record or playback is controlled by register bit eq3dmode. switching this bit from record to playback or from playback to record may only be done when both adcs and both dacs are disabled. to enable the 3d stereo enhancement in the adc path the device must be in 128fs mode by setting m128enb to 1 in register r7 bit 8. refer to the low power section under power management below for more details. the depth3d setting controls the degree of stereo expansion.
production data wm8985 w pd, rev 4.6, july 2009 63 register address bit label default description r41 (29h) 3d control 3:0 depth3d 0000 stereo depth 0000 = disabled 0001 = 6.67% 0010 = 13.3% 0011 = 20% 0100 = 26.7% 0101 = 33.3% 0110 = 40% 0111 = 46.6% 1000 = 53.3% 1001 = 60% 1010 = 66.7% 1011 = 73.3% 1100 = 80% 1101 = 86.7% 1110 = 93.3% 1111 = 100% (maximum 3d effect) table 32 3d stereo enhancement function note: when 3d enhancement is used, it may be necessary to attenuate the signal by 6db to avoid limiting. analogue outputs the wm8985 has three sets of stereo analogue outputs. these are: ? lout1 and rout1 which are normally used to drive a headphone load. ? lout2 and rout2 ? which can be used as class d or class ab headphone drivers. ? out3 and out4 ? can be configured as a stereo line out (out3 is left output and out4 is right output) or a differential output. out4 can also be used to provide a mono mix of left and right channels. the outputs lout2 and rout2 are powered from avdd2 and are capable of driving a 1v rms signal (avdd1/3.3). lout1, rout1, out3 and out4 are powered from avdd1 lout1, rout1, lout2 and rout2 have individual analogue volume pgas with -57db to +6db gain ranges. there are four output mixers in the output signal path, the left and right channel mixers which control the signals to headphone (and optionally the line outputs) and also dedicated out3 and out4 mixers.
wm8985 production data w pd, rev 4.6, july 2009 64 left and right output channel mixers the left and right output channel mixers are shown in figure 25. these mixers allow the aux inputs, the adc bypass and the dac left and right channels to be combined as desired. this allows a mono mix of the dac channels to be performed as well as mixing in external line-in from the aux or speech from the input bypass path. the aux and bypass inputs have individual volume control from -15db to +6db and the dac volume can be adjusted in the digital domain if required. the output of these mixers is connected to both the headphone (lout1 and rout1) and class d headphone (lout2 and rout2) and can optionally be connected to the out3 and out4 mixers. figure 25 left/right output channel mixers
production data wm8985 w pd, rev 4.6, july 2009 65 register address bit label default description r43 (2bh) output mixer control 8 bypl2rmix 0 left bypass path (from the left channel input pga stage) to right output mixer 0 = not selected 1 = selected r43 (2bh) output mixer control 7 bypr2lmix 0 right bypass path (from the right channel input pga stage) to left output mixer 0 = not selected 1 = selected r49 (31h) output mixer control 5 dacr2lmix 0 right dac output to left output mixer 0 = not selected 1 = selected 6 dacl2rmix 0 left dac output to right output mixer 0 = not selected 1 = selected r50 (32h) left channel output mixer control 0 dacl2lmix 1 left dac output to left output mixer 0 = not selected 1 = selected 1 bypl2lmix 0 left bypass path (from the left channel input pga stage) to left output mixer 0 = not selected 1 = selected 4:2 byplmixvol 000 left bypass volume control to output channel mixer: 000 = -15db 001 = -12db 010 = -9db 011 = -6db 100 = -3db 101 = 0db 110 = +3db 111 = +6db 5 auxl2lmix 0 left auxiliary input to left channel output mixer: 0 = not selected 1 = selected 8:6 auxlmixvol 000 aux left channel input to left mixer volume control: 000 = -15db 001 = -12db 010 = -9db 011 = -6db 100 = -3db 101 = 0db 110 = +3db 111 = +6db
wm8985 production data w pd, rev 4.6, july 2009 66 r51 (33h) right channel output mixer control 0 dacr2rmix 1 right dac output to right output mixer 0 = not selected 1 = selected 1 bypr2rmix 0 right bypass path (from the right channel input pga stage) to right output mixer 0 = not selected 1 = selected 4:2 byprmixvol 000 right bypass volume control to output channel mixer: 000 = -15db 001 = -12db 010 = -9db 011 = -6db 100 = -3db 101 = 0db 110 = +3db 111 = +6db 5 auxr2rmix 0 right auxiliary input to right channel output mixer: 0 = not selected 1 = selected 8:6 auxrmixvol 000 aux right channel input to right mixer volume control: 000 = -15db 001 = -12db 010 = -9db 011 = -6db 100 = -3db 101 = 0db 110 = +3db 111 = +6db r3 (03h) power management 3 2 lmixen 0 left output channel mixer enable: 0 = disabled 1= enabled 3 rmixen 0 right output channel mixer enable: 0 = disabled 1 = enabled table 33 left and right output mixer control headphone outputs (lout1 and rout1) the headphone outputs lout1 and rout1 can drive a 16 or 32 headphone load, either through dc blocking capacitors, or dc-coupled to a buffered midrail reference (lout2 or rout2), saving a capacitor (capless mode). when using capless mode avdd1 and avdd2 should use the same supply to maximise supply rejection. out3 and out4 should not be used as a buffered midrail reference in capless mode.
production data wm8985 w pd, rev 4.6, july 2009 67 headphone output using dc blocking capacitors dc coupled headphone output figure 26 recommended headphone output configurations when dc blocking capacitors are used, their capacitance and the load resistance together determine the lower cut-off frequency of the output signal, f c . increasing the capacitance lowers f c , improving the bass response. smaller capacitance values will diminish the bass response. assuming a 16 load and c1, c2 = 220 f: f c = 1 / 2 r l c 1 = 1 / (2 x 16 x 220 f) = 45 hz in the dc coupled configuration, the headphone pseudo-ground is connected to the buffered midrail reference pin (lout2 or rout2). the l/rout2 pins can be configured as a dc output driver by setting the lout2mute and rout2mute register bits. the dc voltage on vmid in this configuration is equal to the dc offset on the lout1 and rout1 pins therefore no dc blocking capacitors are required. this saves space and material cost in portable applications. it is not recommended to use dc-coupling to line inputs of another device. although the built-in short circuit protection on the headphone outputs would be tolerant of shorts to ground, such a connection could be noisy, and may not function properly if the other device is grounded. dc-coupled configurations should only be used with headphones.
wm8985 production data w pd, rev 4.6, july 2009 68 register address bit label default description r52 (34h) lout1 volume control 5:0 lout1vol 111001 (0db) left headphone output volume: (1db steps) 000000 = -57db ... 111001 = 0db ... 111111 = +6db 6 lout1mute 0 left headphone output mute: 0 = normal operation 1 = mute 7 lout1zc 0 headphone volume zero cross enable: 1 = change gain on zero cross only 0 = change gain immediately 8 hpvu not latched lout1 and rout1 volumes do not update until a 1 is written to hpvu (in reg 52 or 53) r53 rout1 volume control 5:0 rout1vol 111001 (0db) right headphone output volume: (1db steps) 000000 = -57db ... 111001 = 0db ... 111111 = +6db 6 rout1mute 0 right headphone output mute: 0 = normal operation 1 = mute 7 rout1zc 0 headphone volume zero cross enable: 1 = change gain on zero cross only 0 = change gain immediately 8 hpvu not latched lout1 and rout1 volumes do not update until a 1 is written to hpvu (in reg 52 or 53) table 34 out1 volume control
production data wm8985 w pd, rev 4.6, july 2009 69 class d / class ab headphone outputs (lout2 and rout2) the outputs lout2 and rout2 are designed to drive two headphone loads of 16 or 32 or line outputs (see headphone output and line output sections, respectively). each output has an individual volume control pga, a mute and an enable control bit as shown in figure 27. lout2 and rout2 output the left and right channel mixer outputs respectively. register address bit label default description r7 (07h) 7:4 dclkdiv 1000 controls clock division from sysclk to generate suitable class d clock. recommended class d clock frequency = 1.4mhz. 0000 = divide by 1 0010 = divide by 2 0011 = divide by 3 0100 = divide by 4 0101 = divide by 5.5 0110 = divide by 6 1000 = divide by 8 1001 = divide by 12 1010 = divide by 16 r23 (17h) 8 cl assden 0 e nable signal for class d mode on lout2 and rout2 0 = class ab mode 1 = class d mode table 35 class d control registers when driving headphones using class d outputs it is necessary to use appropriate filtering, placed close to the device, to minimise emi emissions from the headphone cable (refer to "applications information" for more information). this filtering does not prevent class ab mode operation. figure 27 lout2 and rout2 class d headphone configuration
wm8985 production data w pd, rev 4.6, july 2009 70 figure 28 lout2 and rout2 cl ass ab hea dphone configuration the output configurations shown in figures 29 and 30 are both suitable for class ab operation. the signal output on lout2/rout2 comes from the left/right mixer circuits and can be any combination of the dac output, the bypass path (out put of the input boost stage) and the aux input. the lout2/rout2 volume is controlled by the lout2vol/ rout2vol register bits. gains over 0db may cause clipping if the input signal is too high. the lout2mute/ rout2mute register bits cause these outputs to be muted (the output dc level is driven out). the output pins remain at the same dc level, so that no click noise is produced when muting or un-muting.
production data wm8985 w pd, rev 4.6, july 2009 71 register address bit label default description r54 (36h) lout2 volume control 5:0 lout2vol 111001 left output volume: (1db steps) 000000 = -57db ... 111001 = 0db ... 111111 = +6db 6 lout2mute 0 left output mute: 0 = normal operation 1 = mute 7 lout2zc 0 lout2 volume zero cross enable: 1 = change gain on zero cross only 0 = change gain immediately 8 out2vu not latched lout2 and rout2 volumes do not update until a 1 is written to spkvu (in reg 54 or 55) r55 (37h) rout2 volume control 5:0 rout2vol 111001 right output volume: (1db steps) 000000 = -57db ... 111001 = 0db ... 111111 = +6db 6 rout2mute 0 right output mute: 0 = normal operation 1 = mute 7 rout2zc 0 rout2 volume zero cross enable: 1 = change gain on zero cross only 0 = change gain immediately 8 out2vu not latched lout2 and rout2 volumes do not update until a 1 is written to spkvu (in reg 54 or 55) table 36 out2 volume control zero cross timeout a zero-cross timeout function is provided so that if zero cross is enabled on the input or output pgas the gain will automatically update after a timeout period if a zero cross has not occurred. this is enabled by setting slowclken. the timeout period is dependent on the clock input to the digital and is equal to 2 21 * sysclk period. register address bit label default description r7 (07h) additional control 0 slowclken 0 slow clock enable 0 = slow clock disabled 1 = slow clock enabled table 37 timeout clock enable control note: slowclken is also used for the jack insert detect debounce circuit
wm8985 production data w pd, rev 4.6, july 2009 72 out3/out4 mixers and output stages the out3/out4 pins provide an additional stereo line output, a mono output, or a differential output. there is a dedicated analogue mixer for out3 and one for out4 as shown in figure 29. the out3 and out4 output stages are powered from avdd1 and agnd1. figure 29 out3 and out4 mixers out3 can provide a left line output, or a mono mix line output. out4 can provide a right line output, or a mono mix line output. a 6db attenuation function is provided for out4, to prevent clipping during mixing of left and right signals. this function is enabled by the out4attn register bit.
production data wm8985 w pd, rev 4.6, july 2009 73 register address bit label default description r56 (38h) out3 mixer control 6 out3mute 0 0 = output stage outputs out3 mixer 1 = output stage muted 3 out4_2out3 0 out4 mixer output to out3 0 = disabled 1 = enabled 2 bypl2out3 0 left adc input to out3 0 = disabled 1 = enabled 1 lmix2out3 0 left dac mixer to out3 0 = disabled 1 = enabled 0 ldac2out3 1 left dac output to out3 0 = disabled 1 = enabled r57 (39h) out4 mixer control 7 out3_2out4 0 out3 mixer output to out4 0 = disabled 1 = enabled 6 out4mute 0 0 = output stage outputs out4 mixer 1 = output stage muted 5 out4attn 0 0 = out4 normal output 1 = out4 attenuated by 6db 4 lmix2out4 0 left dac mixer to out4 0 = disabled 1 = enabled 3 ldac2out4 0 left dac to out4 0 = disabled 1 = enabled 2 bypr2out4 0 right adc i nput to out4 0 = disabled 1 = enabled 1 rmix2out4 0 right dac mixer to out4 0 = disabled 1 = enabled 0 rdac2out4 1 right dac output to out4 0 = disabled 1 = enabled table 38 out3/out4 mixer registers
wm8985 production data w pd, rev 4.6, july 2009 74 enabling the outputs each analogue output of the wm8985 can be independently enabled or disabled. the analogue mixer associated with each output has a separate enable bit. all outputs are disabled by default. to save power, unused parts of the wm8985 should remain disabled. outputs can be enabled at any time, but it is not recommended to do so when bufio is disabled (bufioen=0), as this may cause pop noise (see ?power management? and ?applications information? sections). register address bit label default description r1 (01h) power management 1 2 bufioen 0 unused input/output bias buffer enable 6 out3mixen 0 out3 mixer enable 7 out4mixen 0 out4 mixer enable r2 (02h) power management 2 8 rout1en 0 rout1 output enable 7 lout1en 0 lout1 output enable 6 sleep 0 0 = normal device operation 1 = supply current reduced in device standby mode when clock supplied (see note) r3 (03h) power management 3 2 lmixen 0 left mixer enable 3 rmixen 0 right mixer enable 5 lout2en 0 lout2 output enable 6 rout2en 0 rout2 output enable 7 out3en 0 out3 enable 8 out4en 0 out4 enable note: all ?enable? bits are 1 = on, 0 = off table 39 output stages power management control note: the sleep bit r2[6] s hould only be used when the device is already standby mode. the sleep bit prevents the mclk from propagating round the device when the external mclk signal cannot be removed. thermal shutdown to protect the wm8985 from becoming too hot, a thermal sensor has been built in. if the device junction temperature reaches approximately 125 c and the tsden and tsopctrl bit are set, then all outputs will be disabled to avoid further increase of the chip temperature. additionally, when the device is too hot and tsden is set, then the wm8985 de-asserts gpio bit 11, a virtual gpio that can be set up to generate an interrupt to the cpu (see ?gpio and interrupt control? section). register address bit label default description r49 (31h) output control 1 tsden 0 thermal sensor enable 0 = disabled 1 = enabled 2 tsopctrl 0 thermal shutdown output enable 0 = disabled 1 = enabled, i.e. all outputs will be disabled if ti set and the device junction temperature is more than 125oc. table 40 thermal shutdown unused analogue inputs/outputs whenever an analogue input/output is disabled, it remains connected to a voltage source (avdd1/2) through a resistor. this helps to prevent pop noise when the output is re-enabled. the resistance between the voltage buffer and the output pins can be controlled using the vroi control bit. the default impedance is low, so that any capacitors on the outputs can charge up quickly at start-up. if a high impedance is desired for disabled outputs, vroi can then be set to 1, increasing the resistance to about 30k .
production data wm8985 w pd, rev 4.6, july 2009 75 register address bit label default description r49 (31h) 0 vroi 0 vref (avdd1/2) to analogue output resistance 0 = approx 1k 1 = approx 30 k table 41 disabled outputs to vref resistance a dedicated buffer is available for biasing unused analogue i/o pins as shown in figure 30. this buffer can be enabled using the bufioen register bit. figure 30 summarises the bias options for the output pins. avdd/2 - + avdd/2 used to tie off all unused inputs and outputs bufioen r1[2] 1k analogue inputs 1k 1k lout2 rout2 out3 1k 30k vroi r49[0] 1k 30k vroi r49[0] 1k 30k vroi r49[0] out4 1k 30k vroi r49[0] lout1 1k 30k vroi r49[0] rout1 1k 30k vroi r49[0] figure 30 unused input/output pin tie-off buffers l/rout2en/ out3/4en vroi output configuration 0 0 1k ? to avdd1/2 0 1 30k ? to avdd1/2 1 x output enabled (dc level=avdd1/2) table 42 unused output pin bias options
wm8985 production data w pd, rev 4.6, july 2009 76 digital audio interfaces the audio interface has four pins: ? adcdat: adc data output ? dacdat: dac data input ? lrc: data left/right alignment clock ? bclk: bit clock, for synchronisation the clock signals bclk, and lrc can be outputs when the wm8985 operates as a master, or inputs when it is a slave (see master and slave mode operation, below). five different audio data formats are supported: ? left justified ? right justified ? i 2 s ? dsp mode a ? dsp mode b all of these modes are msb first. they are described in audio data formats, below. refer to the electrical characteristic section for timing information. master and slave mode operation the wm8985 audio interface may be configured as either master or slave. as a master interface device the wm8985 generates bclk and lrc and thus controls sequencing of the data transfer on adcdat and dacdat. to set the device to master mode register bit ms should be set high. in slave mode (ms=0), the wm8985 responds with data to clo cks it receives over the digital audio interfaces. audio data formats in left justified mode, the msb is available on the first rising edge of bclk following an lrc transition. the other bits up to the lsb are then transmitted in order. depending on word length, bclk frequency and sample rate, there may be unused bclk cycles before each lrc transition. figure 31 left justified audio interface (assuming n-bit word length) in right justified mode, the lsb is available on the last rising edge of bclk before a lrc transition. all other bits are transmitted before (msb first). depending on word length, bclk frequency and sample rate, there may be unused bclk cycles after each lrc transition.
production data wm8985 w pd, rev 4.6, july 2009 77 figure 32 right justified audio interface (assuming n-bit word length) in i 2 s mode, the msb is available on the second rising edge of bclk following a lrc transition. the other bits up to the lsb are then transmitted in order. depending on word length, bclk frequency and sample rate, there may be unused bclk cycles between the lsb of one sample and the msb of the next. figure 33 i 2 s audio interface (assuming n-bit word length) in dsp/pcm mode, the left channel msb is available on either the 1 st (mode b) or 2 nd (mode a) rising edge of bclk (selectable by lrp) following a rising edge of lrc. right channel data immediately follows left channel data. depending on word length, bclk frequency and sample rate, there may be unused bclk cycles between the lsb of the right channel data and the next sample. in device master mode, the lrc output will resemble the lrc pulse shown in figure 34 and figure 35. in device slave mode, figure 36 and figure 37, it is possible to use any length of lrc pulse less than 1/fs, providing the falling edge of the lrc pulse occurs greater than one bclk period before the rising edge of the next lrc pulse. figure 34 dsp/pcm mode audio interface (mode a, lrp=0, master)
wm8985 production data w pd, rev 4.6, july 2009 78 figure 35 dsp/pcm mode audio interface (mode b, lrp=1, master) figure 36 dsp/pcm mode audio interface (mode a, lrp=0, slave) figure 37 dsp/pcm mode audio interface (mode b, lrp=0, slave)
production data wm8985 w pd, rev 4.6, july 2009 79 register address bit label default description r4 (04h) audio interface control 0 mono 0 selects between stereo and mono device operation: 0 = stereo device operation 1 = mono device operation. data appears in ?left? phase of lrc only. 1 alrswap 0 controls whether adc data appears in ?right? or ?left? phases of lrc clock: 0 = adc left data appear in ?left? phase of lrc and right data in ?right? phase 1 = adc left data appear in ?right? phase of lrc and right data in ?left? phase 2 dlrswap 0 controls whether dac data appears in ?right? or ?left? phases of lrc clock: 0 = dac left data appear in ?left? phase of lrc and right data in ?right? phase 1 = dac left data appear in ?right? phase of lrc and right data in ?left? phase 4:3 fmt 10 audio interface data format select: 00 = right justified 01 = left justified 10 = i 2 s format 11 = dsp/pcm mode 6:5 wl 10 word length 00 = 16 bits 01 = 20 bits 10 = 24 bits 11 = 32 bits (see note) 7 lrp 0 lrc clock polarity 0 = normal 1 =inverted dsp mode ? mode a/b select 0 = msb is available on 2 nd bclk rising edge after lrc rising edge (mode a) 1 = msb is available on 1 st bclk rising edge after lrc rising edge (mode b) 8 bcp 0 bclk polarity 0 = normal 1 = inverted r5 0 loopback 0 digital loopback function 0 = no loopback 1 = loopback enabled, adc data output is fed directly into dac data input. table 43 audio interface control note: right justified mode will only operate with a maximum of 24 bits. if 32-bit mode is selected the device will operate in 24-bit mode. audio interface control the register bits controlling audio format, word length and master / slave mode are summarised below. register bit ms selects audio interface operation in master or slave mode. in master mode bclk, and lrc are outputs. the frequency of bclk in master mode can be controlled with bclkdiv. the frequencies of bclk and lrc are also controlled by mclkdiv. the lrc sample rate is set to the required values by mclkdiv and the bclk rate will be set accordingly to provide sufficient bclks for that chosen sample rate. these clocks are divi ded down versions of master clock.
wm8985 production data w pd, rev 4.6, july 2009 80 register address bit label default description r6 (06h) clock generation control 0 ms 0 sets the chip to be master over lrc and bclk 0 = bclk and lrc clock are inputs 1 = bclk and lrc clock are outputs generated by the wm8985 (master) 4:2 bclkdiv 000 configures the bclk output frequency, for use when the chip is master over bclk. 000 = divide by 1 (bclk=sysclk) 001 = divide by 2 (bclk=sysclk/2) 010 = divide by 4 (bclk=sysclk/4) 011 = divide by 8 (bclk=sysclk/8) 100 = divide by 16 (bclk=sysclk/16) 101 = divide by 32 (bclk=sysclk/32) 110 = reserved 111 = reserved 7:5 mclkdiv 010 sets the scaling for sysclk clock output (under control of clksel) 000 = divide by 1 (lrc=sysclk/128) 001 = divide by 1.5 (lrc= sysclk/ 192) 010 = divide by 2 (lrc=sysclk/256) 011 = divide by 3 (lrc=sysclk/384) 100 = divide by 4 (lrc=sysclk/512) 101 = divide by 6 (lrc=sysclk/768) 110 = divide by 8 (lrc=sysclk/1024) 111 = divide by 12 (lrc= sysclk/ 1536) 8 clksel 1 controls the source of the clock for all internal operation: 0 = mclk 1 = pll output table 44 clock control the clksel bit selects the internal source of the master clock from the pll (clksel=1) or from mclk (clksel=0). when the internal clock is switched from one source to another using the clksel bit, the clock originally selected must generate at least one falling edge after cl ksel has changed for the switching of clo cks to be successful. example: if the pll is the current source of the internal clock (clksel=1) and it is required to switch to the mclk, change cl ksel to select mclk (clksel=0) and then disable pll (pllen=0).
production data wm8985 w pd, rev 4.6, july 2009 81 audio sample rates the wm8985 adc high pass filter, alc and dac limiter characteristics are sample rate dependent. sr should be set to the correct sample rate or the closest value if the actual sample rate is not available. if a sample rate that is not explicitly supported by the sr register settings is required then the closest sr value to that sample rate should be chosen. the filter characteristics and the alc attack decay and hold times will scale appropriately. register address bit label default description r7 (07h) additional control 3:1 sr 000 approximate sample rate (configures the coefficients for the internal digital filters): 000 = 48khz 001 = 32khz 010 = 24khz 011 = 16khz 100 = 12khz 101 = 8khz 110-111 = reserved table 45 sample rate control master clock and phase locked loop (pll) the wm8985 has an on-chip phase-locked loop (pll) circuit that can be used to: generate master clocks for the wm8985 audio functions from another external clock, e.g. in telecoms applications. generate and output (on pin csb/gpio1) a clock for another part of the system that is derived from an existing audio master clock. figure 38 shows the pll and internal clocking on the wm8985. the pll can be enabled or disabled by the pllen register bit. register address bit label default description r1 (01h) power management 1 5 pllen 0 pll enable 0 = pll off 1 = pll on table 46 pllen control bit
wm8985 production data w pd, rev 4.6, july 2009 82 figure 38 pll and clock select circuit the pll frequency ratio r = f 2 /f 1 (see figure 38) can be set using the register bits pllk and plln: plln = int r pllk = int (2 24 (r-plln)) example: mclk=12mhz, required clock = 12.288mhz. r should be chosen to ensure 5 < plln < 13. there is a fixed divide by 4 in the pll and a selectable divide by n after the pll which should be set to divide by 2 to meet this requirement. enabling the divide by 2 sets the required f 2 = 4 x 2 x 12.288mhz = 98.304mhz. r = 98.304 / 12 = 8.192 plln = int r = 8 k = int ( 2 24 x (8.192 ? 8)) = 3221225 = 3126e9h register address bit label default description r36 (24h) pll n value 4 pllprescale 0 0 = mclk input not divided (default) 1 = divide mclk by 2 before input to pll 3:0 plln 1000 integer (n) part of pll input/output frequency ratio. use values greater than 5 and less than 13. r37 (25h) pll k value 1 5:0 pllk [23:18] 0ch fractional (k) part of pll1 input/output frequency ratio (treat as one 24-digit binary number). r38 (26h) pll k value 2 8:0 pllk [17:9] 093h r39 (27h) pll k value 3 8:0 pllk [8:0] 0e9h table 47 pll frequency ratio control the pll performs best when f 2 is around 90mhz. its stability peaks at n=8. some example settings are shown in 48.
production data wm8985 w pd, rev 4.6, july 2009 83 mclk (mhz) (f1) desired output (sysclk) (mhz) f2 (mhz) pllprescale mclkdiv r n k n register r36[3:0] k registers r37 r38 r39 12 11.29 90.3168 1 2 7.5264 7h 86c226h xx7h 021h 161h 026h 12 12.288 98.304 1 2 8.192 8h 3126e8h xx8h 00ch 093h 0e8h 13 11.29 90.3168 1 2 6.947446 6h f28bd4h xx6h 03ch 145h 1d4h 13 12.288 98.304 1 2 7.561846 7h 8fd525h xx7h 023h 1eah 125h 14.4 11.29 90.3168 1 2 6.272 6h 45a1cah xx6h 011h 0d0h 1cah 14.4 12.288 98.304 1 2 6.826667 6h d3a06eh xx6h 034h 1d0h 06eh 19.2 11.29 90.3168 2 2 9.408 9h 6872afh xx9h 01ah 039h 0afh 19.2 12.288 98.304 2 2 10.24 ah 3d70a3h xxah 00fh 0b8h 0a3h 19.68 11.29 90.3168 2 2 9.178537 9h 2db492h xx9h 00bh 0dah 092h 19.68 12.288 98.304 2 2 9.990243 9h fd809fh xx9h 03fh 0c0h 09fh 19.8 11.29 90.3168 2 2 9.122909 9h 1f76f7h xx9h 007h 1bbh 0f7h 19.8 12.288 98.304 2 2 9.929697 9h ee009eh xx9h 03bh 100h 09eh 24 11.29 90.3168 2 2 7.5264 7h 86c226h xx7h 021h 161h 026h 24 12.288 98.304 2 2 8.192 8h 3126e8h xx8h 00ch 093h 0e8h 26 11.29 90.3168 2 2 6.947446 6h f28bd4h xx6h 03ch 145h 1d4h 26 12.288 98.304 2 2 7.561846 7h 8fd525h xx7h 023h 1eah 125h 27 11.29 90.3168 2 2 6.690133 6h b0ac93h xx6h 02ch 056h 093h 27 12.288 98.304 2 2 7.281778 7h 482296h xx7h 012h 011h 096h table 48 pll frequency examples loopback setting the loopback register bit enables digital loopback. when this bit is set the output data from the adc audio interface is fed directly into the dac data input. companding the wm8985 supports a-law and -law companding on both transmit (adc) and receive (dac) sides. companding can be enabled on the dac or adc audio interfaces by writing the appropriate value to the dac_comp or adc_comp register bits respectively. register address bit label default description r5 (05h) companding control 2:1 adc_comp 0 adc companding 00 = off 01 = reserved 10 = -law 11 = a-law 4:3 dac_comp 0 dac companding 00 = off 01 = reserved 10 = -law 11 = a-law 5 wl8 0 0 = off 1 = device operates in 8-bit mode. table 49 companding control
wm8985 production data w pd, rev 4.6, july 2009 84 companding involves using a piecewise linear approximation of the following equations (as set out by itu-t g.711 standard) for data compression: -law (where =255 for the u.s. and japan): f(x) = ln( 1 + |x|) / ln( 1 + ) -1 x 1 a law (where a=87.6 for europe): f(x) = a|x| / ( 1 + lna) } for x 1/a f(x) = ( 1 + lna|x|) / (1 + lna) } for 1/a x 1 the companded data is also inverted as recommended by the g.711 standard (all 8 bits are inverted for -law, all even data bits are inverted for a-law). the data will be transmitted as the first 8 msb?s of data. companding converts 13 bits ( -law) or 12 bits (a-law) to 8 bits using non-linear quantization. the input data range is separated into 8 levels, allowing low amplitude signals better precision than that of high amplitude signals. this is to exploit the operation of the human auditory system, where louder sounds do not require as much resolution as quieter sounds. the companded signal is an 8- bit word containing sign (1-bit), exponent (3-bits) and mantissa (4-bits). setting the wl8 register bit allows the device to operate with 8-bit data. in this mode it is possible to use 8 bclk?s per lrc frame. when using dsp mode b, this allows 8-bit data words to be output consecutively every 8 bclk?s and can be used with 8-bit data words using the a-law and u-law companding functions. bit7 bit[6:4] bit[3:0] sign exponent mantissa table 50 8-bit companded word composition u-law companding 0 20 40 60 80 100 120 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 normalised input companded output 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 normalised output figure 39 -law companding
production data wm8985 w pd, rev 4.6, july 2009 85 a-law companding 0 20 40 60 80 100 120 0 0.2 0.4 0.6 0.8 1 normalised input companded output 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 normalised output figure 40 a-law companding
wm8985 production data w pd, rev 4.6, july 2009 86 general purpose input/output the wm8985 has three dual purpose input/output pins. ? csb/gpio1: csb / gpio1 pin ? l2/gpio2: left channel line input / headphone detection input ? r2/gpio3: right channel line input / headphone detection input the gpio2 and gpio3 functions are provided for use as jack detection inputs. the gpio1 function is provided for use as jack detection input or general purpose output. the default configuration for the csb/gpio1 is to be an input. when setup as an input, the csb/gpio1 pin can either be used as csb or for jack detection, depending on how the mode pin is set. table 45 illustrates the functionality of the gpio1 pin when used as a general purpose output. register address bit label default description r8 (08h) gpio control 2:0 gpio1sel 000 csb/gpio1 pin function select: 000 = input (csb / jack detection: depending on mode setting) 001 = reserved 010 = temp ok 011 = amute active 100 = pll clk output 101 = pll lock 110 = logic 0 111 = logic 1 3 gpio1pol 0 gpio1 polarity invert 0 = non inverted 1 = inverted 6 gpio1gpd 0 gpio1 internal pull-down enable: 0 = internal pull-down disabled 1 = internal pull-down enabled 7 gpio1gpu 0 gpio1 internal pull-up enable: 0 = internal pull-up disabled 1 = internal pull-up enabled 8 gpio1gp 0 gpio1 open drain enable 0 = open drain disabled 1 = open drain enabled r14(0eh) 5:4 opclkdiv 00 pll output clock division ratio 00 = divide by 1 01 = divide by 2 10 = divide by 3 11 = divide by 4 table 45 csb/gpio control note: if mode is set to 3 wire mode, csb/gpio1 is used as csb input irrespective of the gpio1sel[2:0] bits. register r14(0eh) bits [5:4] (opclkdiv) are used to control the pll output clock division ratio and also the highpass filter cut-off in applications mode (hpfcut). opclkdiv and hpfcut cannot be set independently.
production data wm8985 w pd, rev 4.6, july 2009 87 for further details of the jack detect operation see the output switching section. output switching (jack detect) when the device is operated using a 2-wire interface the csb/gpio1 pin can be used as a switch control input to automatically disable one set of outputs and enable another; the most common use for this functionality is as jack detect circuitry. the l2/gpio2 and r2/gpio3 pins can also be used for this purpose. the gpio pins have an internal de-bounce circuit when in this mode in order to prevent the output enables from toggling multiple times due to input glitches. this de-bounce circuit is clocked from a slow clock with period 2 21 x mclk and is enabled by the slowclken bit. notes: 1. the slowclken bit must be enabled for the jack detect circuitry to operate. 2. the gpiopol bit is not relevant for jack detection, it is the signal detected at the pin which is used switching on/off of the outputs is fully configurable by the user. each output, out1, out2, out3 and out4 has 2 associated enables. out1_en_0, out2_en_0, out3_en_0 and out4_en_0 are the output enable signals which are used if the selected jack detection pin is at logic 0 (after de- bounce). out1_en_1, out2_en_1, out3_en_1 and out4_en_1 are the output enable signals which are used if the selected jack detection pin is at logic 1 (after de-bounce). the jack detection enables operate as follows: all out_en signals have an and function performed with their normal enable signals (in table 39). when an output is normally enabled as per table 39, the selected jack detection enable (controlled by selected jack detection pin polarity) is set 0; it will turn the output off. if the normal enable signal is already off (0), the jack detection signal will have no effect due to the and function. during jack detection if the user desires an output to be un-changed whether the jack is in or not, both the jd_en settings, i.e. jd_en0 and jd_en1, should be set to 0000. if jack detection is not enabled (jd_en=0), the output enables default to all 1?s, allowing the outputs to be controlled as normal via the normal output enables found in table 39.
wm8985 production data w pd, rev 4.6, july 2009 88 register address bit label default description r9 (09h) gpio control 5:4 jd_sel 00 pin selected as jack detection input 00 = gpio1 01 = gpio2 10 = gpio3 11 = reserved 6 jd_en 0 jack detection enable 0 = disabled 1 = enabled r13 (00h) 3:0 jd_en0 0000 output enables when selected jack detection input is logic 0. [0]= out1_en_0 [1]= out2_en_0 [2]= out3_en_0 [3]= out4_en_0 7:4 jd_en1 0000 output enables when selected jack detection input is logic 1 [4]= out1_en_1 [5]= out2_en_1 [6]= out3_en_1 [7]= out4_en_1 table 46 jack detect register control bits control interface selection of control mode and 2-wire mode address the control interface can operate as either a 3-wire or 2-wire control interface. the mode pin determines the 2 or 3 wire mode as shown in table 47. the wm8985 is controlled by writing to registers through a serial control interface. a control word consists of 16 bits. the first 7 bits (b15 to b9) are register address bits that select which control register is accessed. the remaining 9 bits (b8 to b0) are data bits, corresponding to the 9 data bits in each control register. mode interface format low 2 wire high 3 wire table 47 control interface mode selection 3-wire serial control mode in 3-wire mode, every rising edge of sclk clo cks in one data bit from the sdin pin. a rising edge on csb/gpio latches in a complete control word consisting of the last 16 bits. figure 39 3-wire serial control interface
production data wm8985 w pd, rev 4.6, july 2009 89 2-wire serial control mode the wm8985 supports software control via a 2-wire serial bus. many devices can be controlled by the same bus, and each device has a unique 7-bit device address (this is not the same as the 7-bit address of each register in the wm8985). the wm8985 operates as a slave device only. the controller indicates the start of data transfer with a high to low transition on sdin while sclk remains high. this indicates that a device address and data will follow. all devices on the 2-wire bus respond to the start condition and shift in the next eight bits on sdin (7-bit address + read/write bit, msb first). if the device address received matches the address of the wm8985, the wm8985 responds by pulling sdin low on the next clock pulse (ack). if the address is not recognised or the r/w bit is ?1? when operating in write only mode, the wm8985 returns to the idle condition and waits for a new start condition and valid address. during a write, once the wm8985 has acknowledged a correct address, the controller sends the first byte of control data (b15 to b8, i.e. the wm8985 register address plus the first bit of register data). the wm8985 then acknowledges the first data byte by driving sdin low for one clock cycle. the controller then sends the second byte of control data (b7 to b0, i.e. the remaining 8 bits of register data), and the wm8985 acknowledges again by pulling sdin low. transfer is complete when there is a low to high transition on sdin while sclk is high. after a complete sequence the wm8985 returns to the idle state and waits for another start condition. if a start or stop condition is detected out of sequence at any point during data transfer (i.e. sdin changes while sclk is high), the control interface returns to the idle condition. sdin sclk register address and 1st register data bit device address (7 bits) rd / wr bit ack (low) control byte 1 (bits 15 to 8) control byte 1 (bits 7 to 0) remaining 8 bits of register data stop start ack (low) ack (low) figure 40 2-wire serial control interface in 2-wire mode the wm8985 has a fixed device address, 0011010. resetting the chip the wm8985 can be reset by performing a write of any value to the software reset register (address 0h). this will cause all register values to be reset to their default values. in addition to this there is a power-on reset (por) circuit which ensures that the registers are initially set to default when the device is powered up. power supplies the wm8985 requires four separate power supplies: avdd1 and agnd1: analogue supply, powers all internal analogue functions and output drivers lout1, rout1, out3 and out4. avdd1 must be between 2.5v and 3.6v and has the most significant impact on overall power consumption (except for power consumed in the headphones). higher avdd1 will improve audio quality. avdd2 and agnd2: output driver supplies, power lout2 and rout2. avdd2 must be between 2.5v and 3.6v. avdd2 can be tied to avdd1, but it requires separate layout and decoupling capacitors to curb harmonic distortion. dcvdd: digital core supply, powers all digital functions except the audio and control interface pads. dcvdd must be between 1.71v and 3.6v, and has no effect on audio quality. the return path for dcvdd is dgnd, which is shared with dbvdd. dbvdd must be between 1.71v and 3.6v. dbvdd return path is through dgnd. it is possible to use the same supply voltage for all four supplies. however, digital and analogue supplies should be routed and decoupled separately on the pcb to keep digital switching noise out of the analogue signal paths.
wm8985 production data w pd, rev 4.6, july 2009 90 power management saving power by reducing oversampling rate the default mode of operation of the adc and dac digital filters is in 64x oversampling mode. under the control of adcosr128 and dacosr128 the oversampling rate may be doubled. 64x oversampling results in a slight decrease in noise performance compared to 128x but lowers the power consumption of the device. register address bit label default description r10 (0ah) dac control 3 dacosr128 0 dac oversample rate select 0 = 64x (lowest power) 1 = 128x (best snr) r14 (0eh) adc control 3 adcosr128 0 adc oversample rate select 0 = 64x (lowest power) 1 = 128x (best snr) table 48 adc and dac oversampling rate selection low power mode if only dac or adc functionality is required, the wm8985 can be put into a low power mode. in this mode, the dsp core runs at half of the normal rate, reducing digital power consumption of the core by half. for dac low power only, 3d enhancement with 2-band equaliser functionality is permitted, where only band 1 (low shelf) and band 5 (high shelf) can be used. for adc low power, the equaliser and 3d cannot be used. register address bit label default description r7 (07h) additional ctrl 8 m128enb 0 0 = low power mode enabled 1 = low power mode disabled table 49 dsp core low power mode control there are 3 modes of low power operation, as detailed below. the device will not enter low power unless in one of these register configurations, regardless of m128enb. for pop-free operation of the device it is recommended to change the m128enb low power functionality only when both the dacs and adcs are disabled, i.e. when dacenl=0, dacenr=0, adcenl=0 and adcenr=0. function register bits setting description adc low power m128enb adcenl adcenr dacenl dacenr eq3dmode 0 1 1 0 0 1 (dac path) either or both of adcenl and adcenr must be set (mono or stereo mode) dac low power m128enb adcenl adcenr dacenl dacenr 0 0 0 1 1 either or both of dacenl and dacenr must be set (mono or stereo mode) eq3dmode = 0: eq in adc path eq3dmode = 1: eq in dac path table 50 dsp core low power modes for adc only and dac only modes
production data wm8985 w pd, rev 4.6, july 2009 91 vmid the analogue circuitry will not operate unless vmid is enabled. the impedance of the vmid resistor string, together with the decoupling capacitor on the vmid pin will determine the start-up time of the vmid circuit. register address bit label default description r1 (01h) power management 1 1:0 vmidsel 00 reference string impedance to vmid pin 00 = off (250k ? vmid to agnd1) 01=75k ? 10=300k ? 11=5k ? table 51 vmid impedance control biasen the analogue amplifiers will not operate unless bi asen is enabled. register address bit label default description r1 (01h) power management 1 3 biasen 0 analogue amplifier bias control 0 = disabled 1 = enabled table 52 analogue bias control pop minimisation pobctrl wm8985 has two bias generators. a noisy bias derived from avdd and a low noise bias derived from vmid. pobctrl is use to switch between the two bias generators. during power up, the avdd derived bias is available as soon as avdd is applied; the vmid derived bias is available once the vmid node has charged up. register address bit label default description r42 out4 to adc 2 pob ctrl 0 vmid independent current bias control 0 = disable vmid independent current bias 1 = enable vmid independent current bias note: pobctrl should be asserted during power up to minimize pops and then de- asserted at the end of the power up sequence to give best performance. refer to recommended power up/down
wm8985 production data w pd, rev 4.6, july 2009 92 register map addr b[15:9] register name b8 b7 b6 b5 b4 b3 b2 b1 b0 def?t val dec hex (hex) 0 00 software reset software reset 1 01 power manage?t 1 0 out4mix en out3mix en pllen micben biasen bufioen vmidsel[1:0] 000 2 02 power manage?t 2 rout1en lout1en sleep boost enr boost enl inpga enr inppga enl adcenr adcenl 000 3 03 power manage?t 3 out4en out3en rout2en lout2en 0 rmixen lmixen dacenr dacenl 000 4 04 audio interface bcp lrp wl fmt dlrswap alrswap mono 050 5 05 companding ctrl 0 wl8 dac_comp[1:0] adc_comp[1:0] loop back 000 6 06 clock gen ctrl clksel mclkdiv[2:0] bclkdiv[2:0] 0 ms 140 7 07 additional ctrl m128enb dclkdiv[3:0] sr[2:0] slowclk en 080 8 08 gpio stuff gpio1gp gpio1gpu gpio1gpd 0 0 gpio1pol gpio1sel[2:0] 000 9 09 jack detect control 0 0 jd_en jd_sel 0 0 0 0 000 10 0a dac control 0 0 soft mute 0 0 dacosr 128 amute dacrpol daclpol 000 11 0b left dac digital vol dacvu daclvol[7:0] 0ff 12 0c right dac dig?l vol dacvu dacrvol[7:0] 0ff 13 0d jack detect control 0 jd_en1[3:0] jd_en0[3:0] 000 14 0e adc control hpfen hpfapp hpfcut[2:0] adcosr 128 0 adcrpol adclpol 100 0 opclkdiv[1:0] 15 0f left adc digital vol adcvu adclvol[7:0] 0ff 16 10 right adc digital vol adcvu adcrvol[7:0] 0ff 18 12 eq1 ? low shelf eq3dmode 0 eq1c[1:0] eq1g[4:0] 12c 19 13 eq2 ? peak 1 eq2bw 0 eq2c[1:0] eq2g[4:0] 02c 20 14 eq3 ? peak 2 eq3bw 0 eq3c[1:0] eq3g[4:0] 02c 21 15 eq4 ? peak 3 eq4bw 0 eq4c[1:0] eq4g[4:0] 02c 22 16 eq5 ? high shelf 0 0 eq5c[1:0] eq5g[4:0] 02c 23 17 class d control classden 0 0 0 0 10 0 0 008 24 18 dac limiter 1 limen limdcy[3:0] limatk[3:0] 032 25 19 dac limiter 2 0 0 limlvl[2:0] limboost[3:0] 000 27 1b notch filter 1 nfu nfen nfa0[13:7] 000 28 1c notch filter 2 nfu 0 nfa0[6:0] 000 29 1d notch filter 3 nfu 0 nfa1[13:7] 000 30 1e notch filter 4 nfu 0 nfa1[6:0] 000 32 20 alc control 1 alcsel[1:0] 0 alcmax[2:0] alcmin[2:0] 038 33 21 alc control 2 0 alchld[3:0] alclvl[3:0] 00b 34 22 alc control 3 alcmode alcdcy[3:0] alcatk[3:0] 032 35 23 noise gate 0 0 0 0 0 ngen ngth[2:0] 000 36 24 pll n 0 0 0 0 pllpre scale plln[3:0] 008 37 25 pll k 1 0 0 0 pllk[23:18] 00c 38 26 pll k 2 pllk[17:9] 093 39 27 pll k 3 pllk[8:0] 0e9 41 29 3d control depth3d[3:0] 000 42 2a out4 to adc out4_2adcvol[2:0] out4_2 lnr 0 0 pobctrl 0 0 000 43 2b beep control bypl2 rmix bypr2 lmix 0 0 0 0 0 0 0 000
production data wm8985 w pd, rev 4.6, july 2009 93 addr b[15:9] register name b8 b7 b6 b5 b4 b3 b2 b1 b0 def?t val dec hex (hex) 44 2c input ctrl mbvsel 0 r2_2 inppga rin2 inppga rip2 inppga 0 l2_2 inppga lin2 inppga lip2 inppga 003 45 2d left inp pga gain ctrl inpgavu inppga zcl inppga mutel inppgavoll[5:0] 010 46 2e right inp pga gain ctrl inpgavu inppga zcr inppga muter inppgavolr[5:0] 010 47 2f left adc boost ctrl pga boostl 0 l2_2boostvol[2:0] 0 auxl2boostvol[2:0] 100 48 30 right adc boost ctrl pga boostr 0 r2_2boostvol[2:0] 0 auxr2boostvol[2:0] 100 49 31 output ctrl 0 0 dacl2 rmix dacr2 lmix 0 0 tsop ctrl tsden vroi 002 50 32 left mixer ctrl auxlmixvol[2:0] auxl2 lmix byplmixvol[2:0] bypl2 lmix dacl2 lmix 001 51 33 right mixer ctrl auxrmixvol[2:0] auxr2 rmix byprmixvol[2:0] bypr2 rmix dacr2 rmix 001 52 34 lout1 (hp) volume ctrl out1vu lout1zc lout1 mute lout1vol[5:0] 039 53 35 rout1 (hp) volume ctrl out1vu rout1zc rout1 mute rout1vol[5:0] 039 54 36 lout2 (spk) volume ctrl out2vu lout2zc lout2 mute lout2vol[5:0] 039 55 37 rout2 (spk) volume ctrl out2vu rout2zc rout2 mute rout2vol[5:0] 039 56 38 out3 mixer ctrl 0 0 out3 mute 0 0 out4_ 2out3 bypl2 out3 lmix2 out3 ldac2 out3 001 57 39 out4 (mono) mixer ctrl 0 out 3_2out4 out4 mute out4 attn lmix2 out4 ldac2 out4 bypr2 out4 rmix2 out4 rdac2 out4 001 61 3d bias control biascut 0 0 0 00 00 0 000 table 53 wm8985 register map
wm8985 production data w pd, rev 4.6, july 2009 94 register bits by address notes: 1. default values of n/a indicate non-latched data bits (e.g. software reset or volume update bits). 2. register bits marked as ?reserved? should not be changed from the default. register address bit label default description refer to 0 (00h) [8:0] reset n/a software reset resetting the chip 1 (01h) 8 0 reserved. initialise to 0 7 out4mixen 0 out4 mixer enable 0=disabled 1=enabled power management 6 out3mixen 0 out3 mixer enable 0=disabled 1=enabled power management 5 pllen 0 pll enable 0=pll off 1=pll on master clock and phase locked loop (pll) 4 micben 0 microphone bias enable 0 = off (high impedance output) 1 = on input signal path 3 biasen 0 anal ogue amplifier bias control 0=disabled 1=enabled power management 2 bufioen 0 unused input/output tie off buffer enable 0=disabled 1=enabled power management 1:0 vmidsel[1:0] 00 reference string impedance to vmid pin 00 = off (250k ? vmid to agnd1) 01=75k ? 10=300k ? 11=5k ? power management 2 (02h) 8 rout1en 0 rout1 output enable 0=disabled 1=enabled power management 7 lout1en 0 lout1 output enable 0=disabled 1=enabled power management 6 sleep 0 0 = normal device operation 1 = residual current reduced in device standby mode power management 5 boostenr 0 right channel input boost enable 0 = boost stage off 1 = boost stage on power management 4 boostenl 0 left channel input boost enable 0 = boost stage off 1 = boost stage on power management 3 inppgaenr 0 right channel input pga enable 0 = disabled 1 = enabled power management 2 inppgaenl 0 left channel input pga enable 0 = disabled 1 = enabled power management
production data wm8985 w pd, rev 4.6, july 2009 95 register address bit label default description refer to 1 adcenr 0 enable adc right channel: 0 = adc disabled 1 = adc enabled analogue to digital converter (adc) 0 adcenl 0 enable adc left channel: 0 = adc disabled 1 = adc enabled analogue to digital converter (adc) 3 (03h) 8 out4en 0 out4 enable 0 = disabled 1 = enabled power management 7 out3en 0 out3 enable 0 = disabled 1 = enabled power management 6 rout2en 0 rout2 enable 0 = disabled 1 = enabled power management 5 lout2en 0 lout2 enable 0 = disabled 1 = enabled power management 4 0 reserved. initialise to 0 3 rmixen 0 right output channel mixer enable: 0 = disabled 1 = enabled analogue outputs 2 lmixen 0 left output channel mixer enable: 0 = disabled 1 = enabled analogue outputs 1 dacenr 0 right channel dac enable 0 = dac disabled 1 = dac enabled analogue outputs 0 dacenl 0 left channel dac enable 0 = dac disabled 1 = dac enabled analogue outputs 4 (04h) 8 bcp 0 bclk polarity 0=normal 1=inverted digital audio interfaces 7 lrp 0 lrc clock polarity 0=normal 1=inverted digital audio interfaces 6:5 wl 10 word length 00=16 bits 01=20 bits 10=24 bits 11=32 bits digital audio interfaces 4:3 fmt 10 audio interface data format select: 00=right justified 01=left justified 10=i 2 s format 11= dsp/pcm mode digital audio interfaces
wm8985 production data w pd, rev 4.6, july 2009 96 register address bit label default description refer to 2 dlrswap 0 controls whether dac data appears in ?right? or ?left? phases of lrc clock: 0=dac data appear in ?left? phase of lrc 1=dac data appears in ?right? phase of lrc digital audio interfaces 1 alrswap 0 controls whether adc data appears in ?right? or ?left? phases of lrc clock: 0=adc data appear in ?left? phase of lrc 1=adc data appears in ?right? phase of lrc digital audio interfaces 0 mono 0 selects between stereo and mono device operation: 0=stereo device operation 1=mono device operation. data appears in ?left? phase of lrc digital audio interfaces 5 (05h) 8:6 000 reserved. initialise to 0 5 wl8 0 companding control 8-bit mode 0=off 1=device operates in 8-bit mode digital audio interfaces 4:3 dac_comp 00 dac companding 00=off (linear mode) 01=reserved 10= -law 11=a-law digital audio interfaces 2:1 adc_comp 00 adc companding 00=off (linear mode) 01=reserved 10= -law 11=a-law digital audio interfaces 0 loopback 0 digital loopback function 0=no loopback 1=loopback enabled, adc data output is fed directly into dac data input. digital audio interfaces 6 (06h) 8 clksel 1 controls the source of the clock for all internal operation: 0=mclk 1=pll output digital audio interfaces 7:5 mclkdiv 010 sets the scaling for either the mclk or pll clock output (under control of clksel) 000=divide by 1 001=divide by 1.5 010=divide by 2 011=divide by 3 100=divide by 4 101=divide by 6 110=divide by 8 111=divide by 12 digital audio interfaces
production data wm8985 w pd, rev 4.6, july 2009 97 register address bit label default description refer to 4:2 bclkdiv 000 configures the bclk output frequency, for use when the chip is master over bclk. 000=divide by 1 (bclk=mclk) 001=divide by 2 (bclk=mclk/2) 010=divide by 4 011=divide by 8 100=divide by 16 101=divide by 32 110=reserved 111=reserved digital audio interfaces 1 0 reserved. initialise to 0 0 ms 0 sets the chip to be master over lrc and bclk 0=bclk and lrc clock are inputs 1=bclk and lrc clock are outputs generated by the wm8985 (master) digital audio interfaces 7 (07h) 8 m128enb 0 0 = low power mode enabled 1 = low power mode disabled additional control 7:4 dclkdiv 1000 controls clock division from sysclk to generate suitable class d clock. recommended class d clock frequency = 1.4mhz. 0000 = divide by 1 0010 = divide by 2 0011 = divide by 3 0100 = divide by 4 0101 = divide by 5.5 0110 = divide by 6 1000 = divide by 8 1001 = divide by 12 1010 = divide by 16 class a / d headphone outputs 3:1 sr 000 approximate sample rate (configures the coefficients for the internal digital filters): 000=48khz 001=32khz 010=24khz 011=16khz 100=12khz 101=8khz 110-111=reserved audio sample rates 0 slowclken 0 slow clock enable. used for both the jack insert detect debounce circuit and the zero cross timeout. 0 = slow clock disabled 1 = slow clock enabled analogue outputs 8 (08h) 8 gpio1gp 0 gpio1 open drain enable 0 = open drain disabled 1 = open drain enabled general purpose input/output (gpio) 7 gpio1gpu 0 gpio1 internal pull-up enable: 0 = internal pull-up disabled 1 = internal pull-up enabled general purpose input/output (gpio)
wm8985 production data w pd, rev 4.6, july 2009 98 register address bit label default description refer to 6 gpio1gpd 0 gpio1 internal pull-down enable: 0 = internal pull-down disabled 1 = internal pull-down enabled general purpose input/output (gpio) 3 gpio1pol 0 gpio1 polarity invert 0=non inverted 1=inverted general purpose input/output (gpio) 2:0 gpio1sel [2:0] 000 csb/gpio1 pin function select: 000= input (csb/jack detection: depending on mode setting) 001= reserved 010=temp ok 011=amute active 100=pll clk o/p 101=pll lock 110=logic 1 111=logic 0 general purpose input/output (gpio) 9 (09h) 8:7 00 reserved. initialise to 00 6 jd_en 0 jack detection enable 0=disabled 1=enabled output switching (jack detect) 5:4 jd_sel 00 pin selected as jack detection input 00 = gpio1 01 = gpio2 10 = gpio3 11 = reserved output switching (jack detect) 3:0 0 reserved. initialise to 0 10 (0ah) 8:7 00 reserved. initialise to 0 6 softmute 0 softmute enable: 0=disabled 1=enabled output signal path 5:4 00 reserved. initialise to 0 3 dacosr128 0 dac oversample rate select 0 = 64x (lowest power) 1 = 128x (best snr) power management 2 amute 0 automute enable 0 = amute disabled 1 = amute enabled output signal path 1 dacpolr 0 right dac output polarity: 0 = non-inverted 1 = inverted (180 degrees phase shift) output signal path 0 dacpoll 0 left dac output polarity: 0 = non-inverted 1 = inverted (180 degrees phase shift) output signal path 11 (0bh) 8 dacvu n/a dac left and dac right volume do not update until a 1 is written to dacvu (in reg 11 or 12) digital to analogue converter (dac)
production data wm8985 w pd, rev 4.6, july 2009 99 register address bit label default description refer to 7:0 dacvoll 11111111 left dac digital volume control 0000 0000 = digital mute 0000 0001 = -127db 0000 0010 = -126.5db ? 0.5db steps up to 1111 1111 = 0db digital to analogue converter (dac) 12 (0ch) 8 dacvu n/a dac left and dac right volume do not update until a 1 is written to dacvu (in reg 11 or 12) output signal path 7:0 dacvolr 11111111 right dac digital volume control 0000 0000 = digital mute 0000 0001 = -127db 0000 0010 = -126.5db ... 0.5db steps up to 1111 1111 = 0db output signal path 13 (0dh) 8 0 reserved. initialise to 0 7:4 jd_en1 0000 output enabled when selected jack detection input is logic 1 [4]= out1_en_1 [5]= out2_en_1 [6]= out3_en_1 [7]= out4_en_1 output switching (jack detect) 3:0 jd_en0 0000 output enabled when selected jack detection input is logic 0. [0]= out1_en_0 [1]= out2_en_0 [2]= out3_en_0 [3]= out4_en_0 output switching (jack detect) 14 (0eh) 8 hpfen 1 high pass filter enable 0=disabled 1=enabled analogue to digital converter (adc) 7 hpfapp 0 select audio mode or application mode 0=audio mode (1 st order, fc = ~3.7hz) 1=application mode (2 nd order, fc = hpfcut) analogue to digital converter (adc) 6:4 hpfcut / opclkdiv 000 application mode cut-off frequency see table 16 for details. analogue to digital converter (adc) pll output clock division ratio 00 = divide by 1 01 = divide by 2 10 = divide by 3 11 = divide by 4 note: hpcut and opclkdiv cannot be set independently general purpose input/output (gpio) 3 adcosr 128 0 adc oversample rate select 0 = 64x (lowest power) 1 = 128x (best snr) power management 2 0 reserved. initialise to 0 1 adcrpol 0 adc right channel polarity adjust: 0=normal 1=inverted analogue to digital converter (adc)
wm8985 production data w pd, rev 4.6, july 2009 100 register address bit label default description refer to 0 adclpol 0 adc left channel polarity adjust: 0=normal 1=inverted analogue to digital converter (adc) 15 (0fh) 8 adcvu n/a adc left and adc right volume do not update until a 1 is written to adcvu (in reg 16 or 17) analogue to digital converter (adc) 7:0 adcvoll 11111111 left adc digital volume control 0000 0000 = digital mute 0000 0001 = -127db 0000 0010 = -126.5db ... 0.5db steps up to 1111 1111 = 0db analogue to digital converter (adc) 16 (10h) 8 adcvu n/a adc left and adc right volume do not update until a 1 is written to adcvu (in reg 16 or 17) analogue to digital converter (adc) 7:0 adcvolr 11111111 right adc digital volume control 0000 0000 = digital mute 0000 0001 = -127db 0000 0010 = -126.5db ... 0.5db steps up to 1111 1111 = 0db analogue to digital converter (adc) 18 (12h) 8 eq3dmode 1 0 = equaliser and 3d enhancement applied to adc path 1 = equaliser and 3d enhancement applied to dac path output signal path 7 0 reserved. initialise to 0 6:5 eq1c 01 eq band 1 cut-off frequency: 00=80hz 01=105hz 10=135hz 11=175hz output signal path 4:0 eq1g 01100 eq band 1 gain control. see table 31 for details. output signal path 19 (13h) 8 eq2bw 0 eq band 2 bandwidth control 0=narrow bandwidth 1=wide bandwidth output signal path 7 0 reserved. initialise to 0 6:5 eq2c 01 eq band 2 centre frequency: 00=230hz 01=300hz 10=385hz 11=500hz output signal path 4:0 eq2g 01100 eq band 2 gain control. see table 31 for details. output signal path 20 (14h) 8 eq3bw 0 eq band 3 bandwidth control 0=narrow bandwidth 1=wide bandwidth output signal path 7 0 reserved. initialise to 0 6:5 eq3c 01 eq band 3 centre frequency: 00=650hz 01=850hz 10=1.1khz 11=1.4khz output signal path
production data wm8985 w pd, rev 4.6, july 2009 101 register address bit label default description refer to 4:0 eq3g 01100 eq band 3 gain control. see table 31 for details. output signal path 21 (15h) 8 eq4bw 0 eq band 4 bandwidth control 0=narrow bandwidth 1=wide bandwidth output signal path 7 0 reserved. initialise to 0 6:5 eq4c 01 eq band 4 centre frequency: 00=1.8khz 01=2.4khz 10=3.2khz 11=4.1khz output signal path 4:0 eq4g 01100 eq band 4 gain control. see table 31 for details. output signal path 22 (16h) 8:7 0 reserved. initialise to 0 output signal path 6:5 eq5c 01 eq band 5 cut-off frequency: 00=5.3khz 01=6.9khz 10=9khz 11=11.7khz output signal path 4:0 eq5g 01100 eq band 5 gain control. see table 31 for details. output signal path 23 (17h) 8 classden 0 enable signal for class d mode on lout2 and rout2 0 = class ab mode 1 = class d mode class d control 7:0 000 1000 reserved. 24 (18h) 8 limen 0 enable the dac digital limiter: 0=disabled 1=enabled output signal path 7:4 limdcy 0011 dac limiter decay time (per 6db gain change) for 44.1khz sampling. note that these will scale with sample rate: 0000=750us 0001=1.5ms 0010=3ms 0011=6ms 0100=12ms 0101=24ms 0110=48ms 0111=96ms 1000=192ms 1001=384ms 1010=768ms output signal path
wm8985 production data w pd, rev 4.6, july 2009 102 register address bit label default description refer to 3:0 limatk 0010 dac limiter attack time (per 6db gain change) for 44.1khz sampling. note that these will scale with sample rate. 0000=94us 0001=188s 0010=375us 0011=750us 0100=1.5ms 0101=3ms 0110=6ms 0111=12ms 1000=24ms 1001=48ms 1010=96ms 1011 to 1111=192ms output signal path 25 (19h) 8:7 00 reserved. initialise to 0 6:4 limlvl 000 programmable signal threshold level (determines level at which the dac limiter starts to operate) 000=-1db 001=-2db 010=-3db 011=-4db 100=-5db 101 to 111=-6db output signal path 3:0 limboost 0000 dac limiter volume boost (can be used as a stand alone volume boost when limen=0): 0000=0db 0001=+1db 0010=+2db ? (1db steps) 1011=+11db 1100=+12db 1101 to 1111=reserved output signal path 27 (1bh) 8 nfu 0 notch filter update. the notch filter values used internally only update when one of the nfu bits is set high. analogue to digital converter (adc) 7 nfen 0 notch filter enable: 0=disabled 1=enabled analogue to digital converter (adc) 6:0 nfa0[13:7] 0000000 notch filter a0 coefficient, bits [13:7] analogue to digital converter (adc) 28 (1ch) 8 nfu 0 notch filter update. the notch filter values used internally only update when one of the nfu bits is set high. analogue to digital converter (adc) 7 0 reserved. initialise to 0 6:0 nfa0[6:0] 0000000 notch filter a0 coefficient, bits [6:0] analogue to digital converter (adc)
production data wm8985 w pd, rev 4.6, july 2009 103 register address bit label default description refer to 29 (1dh) 8 nfu 0 notch filter update. the notch filter values used internally only update when one of the nfu bits is set high. analogue to digital converter (adc) 7 0 reserved. initialise to 0 6:0 nfa1[13:7] 0000000 notch filter a1 coefficient, bits [13:7] analogue to digital converter (adc) 30 (1eh) 8 nfu 0 notch filter update. the notch filter values used internally only update when one of the nfu bits is set high. analogue to digital converter (adc) 7 0 reserved. initialise to 0 6:0 nfa1[6:0] 0000000 notch filter a1 coefficient, bits [6:0] analogue to digital converter (adc) 32 (20h) 8:7 alcsel 00 alc function select: 00=alc off 01=alc right only 10=alc left only 11=alc both on input limiter/ automatic level control (alc) 6 0 reserved. initialise to 0 5:3 alcmaxgain 111 set maximum gain of pga 111=+35.25db 110=+29.25db 101=+23.25db 100=+17.25db 011=+11.25db 010=+5.25db 001=-0.75db 000=-6.75db input limiter/ automatic level control (alc) 2:0 alcmingain 000 set minimum gain of pga 000=-12db 001=-6db 010=0db 011=+6db 100=+12db 101=+18db 110=+24db 111=+30db input limiter/ automatic level control (alc) 33 (21h) 7:4 alchld 0000 alc hold time before gain is increased. 0000 = 0ms 0001 = 2.67ms 0010 = 5.33ms ? (time doubles with every step) 1111 = 43.691s input limiter/ automatic level control (alc) 3:0 alclvl 1011 alc target ? sets signal level at adc input 1111 : -1.5dbfs 1110 : -1.5dbfs 1101 : -3dbfs 1100 : -4.5i...... (-1.5db steps) 0001 : -21dbfs 0000 : -22.5dbfs input limiter/ automatic level control (alc)
wm8985 production data w pd, rev 4.6, july 2009 104 register address bit label default description refer to 34 (22h) 8 alcmode 0 determines the alc mode of operation: 0=alc mode 1=limiter mode input limiter/ automatic level control (alc) 7:4 alcdcy [3:0] 0011 decay (gain ramp-up) time (alcmode ==0) input limiter/ automatic level control (alc) per step per 6db 90% of range 0000 410us 3.3ms 24ms 0001 820us 6.6ms 48ms 0010 1.64ms 13.1ms 192ms ? (time doubles with every step) 1010 or higher 420ms 3.36s 24.576s 0011 decay (gain ramp-up) time (alcmode ==1) per step per 6db 90% of range 0000 90.8us 726.4us 5.26ms 0001 181.6us 1.453ms 10.53ms 0010 363.2us 2.905ms 21.06ms ? (time doubles with every step) 1010 93ms 744ms 5.39s 3:0 alcatk 0010 alc attack (gain ramp-down) time (alcmode == 0) input limiter/ automatic level control (alc) per step per 6db 90% of range 0000 104us 832us 6ms 0001 208us 1.664ms 12ms 0010 416us 3.328ms 24.1ms ? (time doubles with every step) 1010 or higher 106ms 852ms 6.18s 0010 alc attack (gain ramp-down) time (alcmode == 1) per step per 6db 90% of range 0000 22.7us 182.4us 1.31ms 0001 45.4us 363.2us 2.62ms 0010 90.8us 726.4us 5.26ms ? (time doubles with every step) 1010 23.2ms 186ms 1.348s 35 (23h) 8:4 00000 reserved. initialise to 0 3 ngen 0 alc noise gate function enable 1 = enable 0 = disable input limiter/ automatic level control (alc) 2:0 ngth 000 alc noise gate threshold: 000=-39db 001=-45db 010=-51db ? (6db steps) 111=-81db input limiter/ automatic level control (alc) 36 (24h) 8:5 0000 reserved. initialise to 0
production data wm8985 w pd, rev 4.6, july 2009 105 register address bit label default description refer to 4 pllprescale 0 0 = mclk input not divided (default) 1 = divide mclk by 2 before input to pll master clock and phase locked loop (pll) 3:0 plln[3:0] 1000 integer (n) part of pll input/output frequency ratio. use values greater than 5 and less than 13. master clock and phase locked loop (pll) 37 (25h) 8:6 000 reserved. initialise to 0 5:0 pllk[23:18] 01100 fractional (k) part of pll1 input/output frequency ratio (treat as one 24-digit binary number). master clock and phase locked loop (pll) 38 (26h) 8:0 pllk[17:9] 010010011 fractional (k) part of pll1 input/output frequency ratio (treat as one 24-digit binary number). master clock and phase locked loop (pll) 39 (27h) 8:0 pllk[8:0] 011101001 fractional (k) part of pll1 input/output frequency ratio (treat as one 24-digit binary number). master clock and phase locked loop (pll) 41 (29h) 8:4 00000 reserved. initialise to 0 3:0 depth3d 0000 stereo depth 0000: 0% (minimum 3d effect) 0001: 6.67% .... 1110: 93.3% 1111: 100% (maximum 3d effect) 3d stereo enhancement 42 (2ah) 8:6 out4_2adcvol 000 controls the out4 to adc input boost stage: 000 = path disabled (disconnected) 001 = -12db gain 010 = -9db gain 011 = -6db gain 100 = -3db gain 101 = +0db gain 110 = +3db gain 111 = +6db gain analogue outputs 5 out4_2lnr 0 out4 to l or r adc i nput 0 = right adc input 1 = left adc input 4:3 00 reserved. initialise to 0 2 pobctrl 0 vmid independent current bias control 0 = disable vmid independent current bias 1 = enable vmid independent current bias 1:0 00 reserved. initialise to 0 43 (2bh) 8 bypl2rmix 0 left bypass path (from the left channel input pga stage) to right output mixer 0 = not selected 1 = selected analogue outputs 7 bypr2lmix 0 right bypass path (from the right channel input pga stage) to left output mixer 0 = not selected 1 = selected analogue outputs 6 0 reserved. initialise to 0 5 0 reserved. initialise to 0 4 0 reserved. initialise to 0
wm8985 production data w pd, rev 4.6, july 2009 106 register address bit label default description refer to 3:1 000 reserved. initialise to 000 0 0 reserved. initialise to 0 44 (2ch) 8 mbvsel 0 micr ophone bias voltage control 0 = 0.9 * avdd 1 = 0.65 * avdd input signal path 7 0 reserved. initialise to 0 6 r2_2inppga 0 connect r2 pin to right channel input pga positive terminal. 0=r2 not connected to input pga 1=r2 connected to input pga amplifier positive terminal (constant input impedance). input signal path 5 rin2inppga 1 connect rin pin to right channel input pga negative terminal. 0=rin not connected to input pga 1=rin connected to right channel input pga amplifier negative terminal. input signal path 4 rip2inppga 1 connect rip pin to right channel input pga amplifier positive terminal. 0 = rip not connected to input pga 1 = right channel input pga amplifier positive terminal connected to rip (constant input impedance) input signal path 3 0 reserved. initialise to 0 2 l2_2inppga 0 connect l2 pin to left channel input pga positive terminal. 0=l2 not connected to input pga 1=l2 connected to input pga amplifier positive terminal (constant input impedance). input signal path 1 lin2inppga 1 connect lin pin to left channel input pga negative terminal. 0=lin not connected to input pga 1=lin connected to input pga amplifier negative terminal. input signal path 0 lip2inppga 1 connect lip pin to left channel input pga amplifier positive terminal. 0 = lip not connected to input pga 1 = input pga amplifier positive terminal connected to lip (constant input impedance) input signal path 45 (2dh) 8 inppgau n/a inppgavoll and inppgavolr volume do not update until a 1 is written to inppgaupdate (in reg 45 or 46) input signal path 7 inppgazcl 0 left channel input pga zero cross enable: 0=update gain when gain register changes 1=update gain on 1 st zero cross after gain register write. input signal path 6 inppgamutel 0 mute control for left channel input pga: 0=input pga not muted, normal operation 1=input pga muted (and disconnected from the following input boost stage). input signal path 5:0 inppgavoll 010000 left channel input pga volume 000000 = -12db 000001 = -11.25db . 010000 = 0db . 111111 = 35.25db input signal path
production data wm8985 w pd, rev 4.6, july 2009 107 register address bit label default description refer to 46 (2eh) 8 inppgau n/a inppgavoll and inppgavolr volume do not update until a 1 is written to inppgaupdate (in reg 45 or 46) input signal path 7 inppgazcr 0 right channel input pga zero cross enable: 0=update gain when gain register changes 1=update gain on 1 st zero cross after gain register write. input signal path 6 inppgamuter 0 mute control for right channel input pga: 0=input pga not muted, normal operation 1=input pga muted (and disconnected from the following input boost stage). input signal path 5:0 inppgavolr 010000 right channel input pga volume 000000 = -12db 000001 = -11.25db . 010000 = 0db . 111111 = +35.25db input signal path 47 (2fh) 8 pgaboostl 1 boost enable for left channel input pga: 0 = pga output has +0db gain through input boost stage. 1 = pga output has +20db gain through input boost stage. input signal path 7 0 reserved. initialise to 0 6:4 l2_2boostvol 000 controls the l2 pin to the left channel input boost stage: 000=path disabled (disconnected) 001=-12db gain through boost stage 010=-9db gain through boost stage ? 111=+6db gain through boost stage input signal path 3 0 reserved. initialise to 0 2:0 auxl2boostvol 000 control [ omm. [ arylliary amplifer to the left channel input boost stage: 000=path disabled (disconnected) 001=-12db gain through boost stage 010=-9db gain through boost stage ? 111=+6db gain through boost stage input signal path 48 (30h) 8 pgaboostr 1 boost enable for right channel input pga: 0 = pga output has +0db gain through input boost stage. 1 = pga output has +20db gain through input boost stage. input signal path 7 0 reserved. initialise to 0 6:4 r2_2boostvol 000 controls the r2 pin to the right channel input boost stage: 000=path disabled (disconnected) 001=-12db gain through boost stage 010=-9db gain through boost stage ? 111=+6db gain through boost stage input signal path 3 0 reserved. initialise to 0
wm8985 production data w pd, rev 4.6, july 2009 108 register address bit label default description refer to 2:0 auxr2boostvol 000 control auxilliary. amplifer to the right channel input boost stage: 000=path disabled (disconnected) 001=-12db gain through boost stage 010=-9db gain through boost stage ? 111=+6db gain through boost stage input signal path 49 (31h) 8:7 00 reserved. initialise to 0 6 dacl2rmix 0 left dac output to right output mixer 0 = not selected 1 = selected analogue outputs 5 dacr2lmix 0 right dac output to left output mixer 0 = not selected 1 = selected analogue outputs 4:3 00 reserved. initialise to 0 2 tsopctrl 0 thermal shutdown output enable 0 = disabled 1 = enabled, i.e. all outputs will be disabled if ti set and the device junction temperature is more than 125oc. analogue outputs 1 tsden 1 thermal shutdown enable 0 : thermal shutdown disabled 1 : thermal shutdown enabled analogue outputs 0 vroi 0 vref (avdd/2 or 1.5xavdd/2) to analogue output resistance 0: approx 1k 1: approx 30 k analogue outputs 50 (32h) 8:6 auxlmixvol 000 aux left channel input to left mixer volume control: 000 = -15db 001 = -12db ? 101 = 0db 110 = +3db 111 = +6db analogue outputs 5 auxl2lmix 0 left auxilliary input to left channel output mixer: 0 = not selected 1 = selected analogue outputs 4:2 byplmixvol 000 left bypass volume control to output channel mixer: 000 = -15db 001 = -12db ? 101 = 0db 110 = +3db 111 = +6db analogue outputs 1 bypl2l mix 0 left bypass path (from the left channel input boost output) to left output mixer 0 = not selected 1 = selected analogue outputs 0 dacl2l mix 1 left dac output to left output mixer 0 = not selected 1 = selected analogue outputs
production data wm8985 w pd, rev 4.6, july 2009 109 register address bit label default description refer to 51 (33h) 8:6 auxrmixvol 000 aux right channel input to right mixer volume control: 000 = -15db 001 = -12db ? 101 = 0db 110 = +3db 111 = +6db analogue outputs 5 auxr2rmix 0 right auxilliary input to right channel output mixer: 0 = not selected 1 = selected analogue outputs 4:2 byprmixvol 000 right bypass volume control to output channel mixer: 000 = -15db 001 = -12db ? 101 = 0db 110 = +3db 111 = +6db analogue outputs 1 bypr2rmix 0 right bypass path (from the right channel input boost output) to right output mixer 0 = not selected 1 = selected analogue outputs 0 dacr2rmix 1 right dac output to right output mixer 0 = not selected 1 = selected analogue outputs 52 (34h) 8 out1vu n/a lout1 and rout1 volumes do not update until a 1 is written to out1vu (in reg 52 or 53) analogue outputs 7 lout1zc 0 headphone volume zero cross enable: 1 = change gain on zero cross only 0 = change gain immediately analogue outputs 6 lout1mute 0 left headphone output mute: 0 = normal operation 1 = mute analogue outputs 5:0 lout1vol 111001 left headphone output volume: 000000 = -57db ... 111001 = 0db ... 111111 = +6db analogue outputs 53 (35h) 8 out1vu n/a lout1 and rout1 volumes do not update until a 1 is written to out1vu (in reg 52 or 53) analogue outputs 7 rout1zc 0 headphone volume zero cross enable: 1 = change gain on zero cross only 0 = change gain immediately analogue outputs 6 rout1mute 0 right headphone output mute: 0 = normal operation 1 = mute analogue outputs 5:0 rout1vol 111001 right headphone output volume: 000000 = -57db ... 111001 = 0db ... 111111 = +6db analogue outputs
wm8985 production data w pd, rev 4.6, july 2009 110 register address bit label default description refer to 54 (36h) 8 out2vu n/a lout2 and rout2 volumes do not update until a 1 is written to out2vu (in reg 54 or 55) analogue outputs 7 lout2zc 0 speaker volume zero cross enable: 1 = change gain on zero cross only 0 = change gain immediately analogue outputs 6 lout2mute 0 left speaker output mute: 0 = normal operation 1 = mute analogue outputs 5:0 lout2vol 111001 left speaker output volume: 000000 = -57db ... 111001 = 0db ... 111111 = +6db analogue outputs 55 (37h) 8 out2vu n/a lout2 and rout2 volumes do not update until a 1 is written to out2vu (in reg 54 or 55) analogue outputs 7 rout2zc 0 speaker volume zero cross enable: 1 = change gain on zero cross only 0 = change gain immediately analogue outputs 6 rout2mute 0 right speaker output mute: 0 = normal operation 1 = mute analogue outputs 5:0 rout2vol 111001 right speaker output volume: 000000 = -57db ... 111001 = 0db ... 111111 = +6db analogue outputs 56 (38h) 8:7 00 reserved 6 out3mute 0 0 = output stage outputs out3 mixer 1 = output stage muted ? drives out vmid. can be used as vmid buffer in this mode. (not to be used for capless hp pseudo gnd) analogue outputs 5:4 00 reserved. initialise to 0 3 out4_2out3 0 out4 mixer output to out3 0 = disabled 1= enabled analogue outputs 2 bypl2out3 0 left adc input to out3 0 = disabled 1= enabled analogue outputs 1 lmix2out3 0 left dac mixer to out3 0 = disabled 1= enabled analogue outputs 0 ldac2out3 1 left dac output to out3 0 = disabled 1= enabled analogue outputs 57 (39h) 8 0 reserved. initialise to 0 7 out3_2out4 0 out3 mixer output to out4 0 = disabled 1 = enabled analogue outputs 6 out4mute 0 0 = output stage outputs out4 mixer 1 = output stage muted ? drives out vmid. can be used as vmid buffer in this mode. (not to be used for capless hp pseudo gnd) analogue outputs
production data wm8985 w pd, rev 4.6, july 2009 111 register address bit label default description refer to 5 halfsig 0 0=out4 normal output 1=out4 attenuated by 6db analogue outputs 4 lmix2out4 0 left dac mixer to out4 0 = disabled 1= enabled analogue outputs 3 ldac2out4 0 left dac to out4 0 = disabled 1= enabled analogue outputs 2 bypr2out4 0 right adc input to out4 0 = disabled 1= enabled analogue outputs 1 rmix2out4 0 right dac mixer to out4 0 = disabled 1= enabled analogue outputs 0 rdac2out4 1 right dac output to out4 0 = disabled 1= enabled analogue outputs 61 (3dh) 8 0 global bias control 0 = normal 1 = 0.5x bias control 7:0 000 0000 reserved. initialise to 0
wm8985 production data w pd, rev 4.6, july 2009 112 digital filter characteristics parameter test conditions min typ max unit adc filter passband +/- 0.025db 0 0.454fs -6db 0.5fs passband ripple +/- 0.025 db stopband 0.546fs stopband attenuation f > 0.546fs -60 db group delay 21/fs adc high pass filter high pass filter corner frequency -3db 3.7 hz -0.5db 10.4 -0.1db 21.6 dac filter passband +/- 0.035db 0 0.454fs -6db 0.5fs passband ripple +/-0.035 db stopband 0.546fs stopband attenuation f > 0.546fs -55 db group delay 29/fs table 54 digital filter characteristics terminology 1. stop band attenuation (db) ? the degree to which the frequency spectrum is attenuated (outside audio band) 2. pass-band ripple ? any variation of the frequency response in the pass-band region
production data wm8985 w pd, rev 4.6, july 2009 113 dac filter responses -160 -140 -120 -100 -80 -60 -40 -20 0 20 00.5 11.5 22.5 frequency (fs) response (db) 2.6 2.65 2.7 2.75 2.8 2.85 2.9 2.95 3 3.05 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 frequency (fs) response (db) figure 41 dac digital filter frequency response (128xosr) figure 42 dac digital filter ripple (128xosr) -160 -140 -120 -100 -80 -60 -40 -20 0 20 00.5 11.5 22.5 frequency (fs) response (db) 2.6 2.65 2.7 2.75 2.8 2.85 2.9 2.95 3 3.05 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 frequency (fs) response (db) figure 43 dac digital filter frequency response (64xosr) figure 44 dac digital filter ripple (64xosr) adc filter responses -120 -100 -80 -60 -40 -20 0 0 0.5 1 1.5 2 2.5 3 frequency (fs) response (db) -0.2 -0.15 -0.1 -0.05 0 0.05 0.1 0.15 0.2 0 0.1 0.2 0.3 0.4 0.5 frequency (fs) response (db) figure 45 adc digital filter frequency response figure 46 adc digital filter ripple
wm8985 production data w pd, rev 4.6, july 2009 114 highpass filter the wm8985 has a selectable digital highpass filter in the adc filter path. this filter has two modes, audio and applications. in audio mode the filter is a 1 st order iir with a cut-off of around 3.7hz. in applications mode the filter is a 2 nd order high pass filter with a selectable cut-off frequency. -40 -35 -30 -25 -20 -15 -10 -5 0 5 0 5 10 15 20 25 30 35 40 45 frequency (hz) response (db) figure 47 adc highpass filter response, hpfapp=0 -60 -50 -40 -30 -20 -10 0 10 0 200 400 600 800 1000 1200 frequency (hz) response (db) -80 -70 -60 -50 -40 -30 -20 -10 0 10 0 200 400 600 800 1000 1200 frequency (hz) response (db) figure 48 adc highpass filter responses (48khz), hpfapp=1, all cut-off settings shown figure 49 adc highpass filter responses (24khz), hpfapp=1, all cut-off settings shown -90 -80 -70 -60 -50 -40 -30 -20 -10 0 10 0 200 400 600 800 1000 1200 frequency (hz) response (db) figure 50 adc highpass filter responses (12khz), hpfapp=1, all cut-off settings shown
production data wm8985 w pd, rev 4.6, july 2009 115 5-band equaliser the wm8985 has a 5-band equaliser which can be applied to either the adc path or the dac path. the plots from figure 51 to figure 64 show the frequency responses of each filter with a sampling frequency of 48khz, firstly showing the different cut-off/centre frequencies with a gain of 12db, and secondly a sweep of the gain from -12db to +12db for the lowest cut-off/centre frequency of each filter. 10 -1 10 0 10 1 10 2 10 3 10 4 10 5 -15 -10 -5 0 5 10 15 frequency (hz) magnitude (db) 10 -1 10 0 10 1 10 2 10 3 10 4 10 5 -15 -10 -5 0 5 10 15 frequency (hz) magnitude (db) figure 51 eq band 1 low frequency shelf filter cut-offs figure 52 eq band 1 gains for lowest cut-off frequency 10 -1 10 0 10 1 10 2 10 3 10 4 10 5 -15 -10 -5 0 5 10 15 frequency (hz) magnitude (db) 10 -1 10 0 10 1 10 2 10 3 10 4 10 5 -15 -10 -5 0 5 10 15 frequency (hz) magnitude (db) figure 53 eq band 2 ? peak filter centre frequencies, eq2bw=0 figure 54 eq band 2 ? peak filter gains for lowest cut-off frequency, eq2bw=0 10 -2 10 -1 10 0 10 1 10 2 10 3 10 4 -15 -10 -5 0 5 10 15 frequency (hz) magnitude (db) figure 55 eq band 2 ? eq2bw=0, eq2bw=1
wm8985 production data w pd, rev 4.6, july 2009 116 10 -1 10 0 10 1 10 2 10 3 10 4 10 5 -15 -10 -5 0 5 10 15 frequency (hz) magnitude (db) 10 -1 10 0 10 1 10 2 10 3 10 4 10 5 -15 -10 -5 0 5 10 15 frequency (hz) magnitude (db) figure 56 eq band 3 ? peak filter centre frequencies, eq3 b figure 57 eq band 3 ? peak filter gains for lowest cut-off frequency, eq3bw=0 10 -2 10 -1 10 0 10 1 10 2 10 3 10 4 -15 -10 -5 0 5 10 15 frequency (hz) magnitude (db) figure 58 eq band 3 ? eq3bw=0, eq3bw=1
production data wm8985 w pd, rev 4.6, july 2009 117 10 -1 10 0 10 1 10 2 10 3 10 4 10 5 -15 -10 -5 0 5 10 15 frequency (hz) magnitude (db) 10 -1 10 0 10 1 10 2 10 3 10 4 10 5 -15 -10 -5 0 5 10 15 frequency (hz) magnitude (db) figure 59 eq band 4 ? peak filter centre frequencies, eq3bw=0 figure 60 eq band 4 ? peak filter gains for lowest cut-off frequency, eq4bw=0 10 -2 10 -1 10 0 10 1 10 2 10 3 10 4 -15 -10 -5 0 5 10 15 frequency (hz) magnitude (db) figure 61 eq band 4 ? eq3bw=0, eq3bw=1 10 -1 10 0 10 1 10 2 10 3 10 4 10 5 -15 -10 -5 0 5 10 15 frequency (hz) magnitude (db) 10 -1 10 0 10 1 10 2 10 3 10 4 10 5 -15 -10 -5 0 5 10 15 frequency (hz) magnitude (db) figure 62 eq band 5 high frequency shelf filter cut-offs figure 63 eq band 5 gains for lowest cut-off frequency
wm8985 production data w pd, rev 4.6, july 2009 118 figure 64 shows the result of having the gain set on more than one channel simultaneously. the blue traces show each band (lowest cut-off/centre frequency) with 12db gain. the red traces show the cumulative effect of all bands with +12db gain and all bands -12db gain, with eqxbw=0 for the peak filters. 10 -1 10 0 10 1 10 2 10 3 10 4 10 5 -15 -10 -5 0 5 10 15 20 frequency (hz) magnitude (db) figure 64 cumulative frequency boost/cut
production data wm8985 w pd, rev 4.6, july 2009 119 applications information recommended external components figure 65 external component diagram 1. when operating lout2 and rout2 in class d mode, it is recommended that lc filtering is placed as close to the lout2 and rout2 pins as possible. low esr components should be used for maximum efficiency. it is recommended that a filter, consisting of a 33 h inductor and a 220nf capacitor, is used for optimal performance. 2. the addition of ferrite beads to the outputs of lout2 and rout2 will suppress any potential interference noise produced by the class d switching clo cks.
wm8985 production data w pd, rev 4.6, july 2009 120 package diagram dm030.f fl: 32 pin qfn plastic package 5 x 5 x 0.9 mm body, 0.50 mm lead pitch notes: 1. dimension b applied to metallized terminal and is measured between 0.25 mm and 0.30 mm from terminal tip. dimension l1 repr esents terminal pull back from package side wall. maximum of 0.1mm is acceptable. where te rminal pull back exists, only upper half of lead is visible on package side wall due to half etching of leadframe. 2. falls within jedec, mo-220 with the exception of d2, e2: d2,e2: larger pad size chosen which is just outside jedec specification 3. all dimensions are in millimetres 4. this drawing is subject to change without notice. 5. shape and size of corner tie bar may vary with package termin al count . corner tie bar is connected to exposed pad internall y. 6. refer to application note wan_0118 for further information regarding pcb footprints and qfn package soldering. see detail b e2 e2/2 b b 16 15 a 8 9 e 5 corner tie bar b d2 l d2/2 see detail a index area (d/2 x e/2) top view d c aaa 2 x c aaa 2 x e detail b terminal tip r datum e e/2 l1 1 detail a b c bbb m a 32x b l 32x k l1 r 1 1 0. 566 m m 0. 43 m m 5 corner tie bar symbols dimensions (mm) min nom max note a a1 a3 b d d2 e e2 e l l1 r 0.85 0.90 1.00 0.05 0.02 0 0.2 ref 0.30 0.23 0.18 5.00 bsc 3.4 3.3 3.2 0.5 bsc 0.35 0.4 0.45 0.1 b(min)/2 1 2 2 1 k 0.20 aaa bbb ccc ref: 0.15 0.10 0.10 jedec, mo-220, variation vhhd-2 tolerances of form and position 5.00 bsc 3.4 3.3 3.2 1 17 24 25 32 exposed ground paddle 6 exposed ground paddle bottom view c 0.08 c ccc a a1 c (a3) seating plane 1 side view
production data wm8985 w pd, rev 4.6, july 2009 121 important notice wolfson microelectronics plc (?wolfson?) products and services are sold subject to wolfson?s terms and conditions of sale, delivery and payment supplied at the time of order acknowledgement. wolfson warrants performance of its products to the specifications in effect at the date of shipment. wolfson reserves the right to make changes to its products and specifications or to discontinue any product or service without notice. customers should therefore obtain the latest version of relevant information from wolfson to verify that the information is current. testing and other quality control techniques are utilised to the extent wolfson deems necessary to support its warranty. specific testing of all parameters of each device is not necessarily performed unless required by law or regulation. in order to minimise risks associated with customer applications, the customer must use adequate design and operating safeguards to minimise inherent or procedural hazards. wolfson is not liable for applications assistance or customer product design. the customer is solely responsible for its selection and use of wolfson products. wolfson is not liable for such selection or use nor for use of any circuitry other than circuitry entirely embodied in a wolfson product. wolfson?s products are not intended for use in life support systems, appliances, nuclear systems or systems where malfunction can reasonably be expected to result in personal injury, death or severe property or environmental damage. any use of products by the customer for such purposes is at the customer?s own risk. wolfson does not grant any licence (express or implied) under any patent right, copyright, mask work right or other intellectual property right of wolfson covering or relating to any combination, machine, or process in which its products or services might be or are used. any provision or publication of any third party?s products or services does not constitute wolfson?s approval, licence, warranty or endorsement thereof. any third party trade marks contained in this document belong to the respective third party owner. reproduction of information from wolfson datasheets is permissible only if reproduction is without alteration and is accompanied by all associated copyright, proprietary and other notices (including this notice) and conditions. wolfson is not liable for any unauthorised alteration of such information or for any reliance placed thereon. any representations made, warranties given, and/or liabilities accepted by any person which differ from those contained in this datasheet or in wolfson?s standard terms and conditions of sale, delivery and payment are made, given and/or accepted at that person?s own risk. wolfson is not liable for any such representations, warranties or liabilities or for any reliance placed thereon by any person. address: wolfson microelectronics plc westfield house 26 westfield road edinburgh eh11 2qb united kingdom tel :: +44 (0)131 272 7000 fax :: +44 (0)131 272 7001 email :: sales@wolfsonmicro.com


▲Up To Search▲   

 
Price & Availability of WM898509

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X